Kashvi Documentation
This site contains the consolidated Kashvi framework documentation, authored as React pages for a fast, modern reading experience.
Start here
Installation & Quick Start
Install the CLI, create an app, configure env, and run the server.
Build a User CRUD API
A 5-minute walkthrough: validation, controller, routes, and curl.
All sections
Getting Started
Reference
CLI Reference
Commands for server, DB, scaffolding, workers.
Configuration
Environment variables and app.json settings.
Routing
Define routes, groups, middleware, URL params.
Context API
Request/response helpers, binding, validation.
Validation
Struct tags, rules, errors, nullable fields.
Authentication
JWT auth, hashing, middleware, RBAC.
ORM & Database
GORM wrapper, query builder, pagination, cache.
Migrations & Seeders
Create migrations, run/rollback, seed data.
Queue & Jobs
Background jobs, retry/backoff, drivers.
Worker Pool
Bounded goroutine pool for controlled concurrency.
Storage
Local and S3-compatible storage API.
WebSocket & SSE
WebSockets hub/client and Server-Sent Events.
gRPC Server
Run alongside HTTP, interceptors, reflection.
MongoDB Log Storage
Async log mirroring to MongoDB with batching.
TestKit (JSON Scenarios)
Scenario-driven API integration tests in JSON.