Viv
Viv
π¦ 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