W 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.
Requirements: V 0.4.x or later
- Via V (Recommended)
v install --git https://github.com/siguici/w- Install from source:
mkdir -p ${VMODULES:-$HOME/.vmodules}
git clone --depth=1 https://github.com/siguici/w ${VMODULES:-$HOME/.vmodules}/w- Import directly:
import w- 🔐 Authentication & Role-Based Access Control (RBAC)
- 🧠 Expressive ORM with relationships
- 🧱 Schema builder for defining database structure
- 🕸️ Web-native, built on Veb
import w.orm { Model }
struct User {
Model
name string
email string [unique]
}
fn (u User) posts() []Post {
return has_many<User, Post>(u, 'user_id')
}Documentation is in progress.
Stay tuned via: https://github.com/siguici/w
W 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.
MIT © @siguici