Repository

Viv

Viv is a modular, full-featured, developer-first web application framework for V , with built-in auth & RBAC, and an expressive ORM inspired by Laravel 's Eloquent.


πŸ“¦ Installation

Requirements: V 0.4.x or later

  • Install via VPM:
v install siguici.viv
  • Install from source:
mkdir -p ${V_MODULES:-$HOME/.vmodules}/siguici
git clone --depth=1 https://github.com/siguici/viv ${V_MODULES:-$HOME/.vmodules}/siguici/viv
  • Import directly:
import siguici.viv

✨ Features (WIP)

  • πŸ” Authentication & Role-Based Access Control (RBAC)
  • 🧠 Expressive ORM with relationships
  • 🧱 Schema builder for defining database structure
  • πŸ•ΈοΈ Web-native, built on Veb

πŸ§ͺ Example Usage

import siguici.viv.orm { Model }

struct User {
    Model
    name  string
    email string [unique]
}

fn (u User) posts() []Post {
    return has_many<User, Post>(u, 'user_id')
}

πŸ“š Documentation

Documentation is in progress.

Stay tuned via: https://github.com/siguici/viv


🧠 Philosophy

Viv draws inspiration from frameworks like Laravel, AdonisJS, and Django, but focuses on the simplicity, performance, and native nature of V.

Its goal is to offer a clean, expressive, and modular foundation for building web applications entirely in V.


πŸͺͺ License

MIT Β© @siguici

About

A modular, full-featured, developer-first web framework, with built-in auth & RBAC, and an expressive ORM.

0
23
6 days ago

Author

siguici