This guide takes you from a blank machine to a running full-stack application with a REST API, a React frontend, and an admin back-office. You will install the CLI, scaffold a project, add a model, and launch both servers.Documentation Index
Fetch the complete documentation index at: https://docs.veloiq.dev/llms.txt
Use this file to discover all available pages before exploring further.
Install the CLI
Install the Verify the installation:
veloiq-framework package from PyPI. This installs both the Python framework and the veloiq CLI.Create a project
Scaffold a new project with The scaffolded structure looks like this:
veloiq new. The command creates a fully-wired backend and frontend in a single directory.Configure the database
Copy Open
.env.example to .env and set your DATABASE_URL..env and set the database connection. VeloIQ supports any SQLAlchemy-compatible database.- SQLite (default)
- PostgreSQL
SQLite requires no server and is the easiest way to get started locally.
Add your first module
Run Edit
veloiq add-module to scaffold the module directory, then open the generated models.py and define your model.backend/app/modules/products/models.py:TimestampedModel automatically adds id, created_at, and updated_at columns. If you don’t want timestamp columns, use FrameworkModel instead — it provides only the id primary key.Generate the API and TypeScript schemas
Run It creates:
veloiq generate from the backend directory. The command reads your model definitions and writes two files.backend/app/modules/products/api.py— standard CRUD REST endpoints for the Product modelfrontend/src/pages/products/productsSchema.gen.ts— TypeScript field definitions for the React frontend
veloiq generate whenever you change a model.Start the backend
Install the Python dependencies, apply the database migrations to create your tables, then start the development server.The backend starts at
http://localhost:8000. Two interfaces are available immediately:- API docs —
http://localhost:8000/docs— interactive Swagger UI for every endpoint - Admin panel —
http://localhost:8000/admin/— SQLAdmin back-office with search, sort, and filter
Start the frontend
Open a new terminal, move into the frontend directory, install dependencies, and start the Vite dev server.Open
http://localhost:5173. You have a working React CRUD interface for the Product model — list, show, create, edit, and delete — with sorting, filtering, and bulk actions, and no additional code.