Learn RAIQL by building one real SaaS application.
Ten focused tutorials grow a single ServiceDesk application from a small Ticket model into a PostgreSQL-backed, authenticated, multi-tenant system with OpenAPI, jobs, tests, environment contracts and production deployment artifacts.
Build Your First RAIQL App
Create a small ServiceDesk application, validate the specification, generate code and run it locally.
Build a PostgreSQL CRUD Application
Move ServiceDesk from memory storage to PostgreSQL with generated Prisma persistence and Docker-backed local development.
Authentication with Email, Password and JWT
Add persisted users, email/password registration, password hashing and JWT sessions to ServiceDesk.
RBAC and Record Ownership
Protect ServiceDesk operations with ADMIN, AGENT and USER roles plus record-level ownership semantics.
Build a Multi-Tenant SaaS
Add Tenant identity and tenant-scoped Ticket access so one generated ServiceDesk can safely serve multiple organizations.
Generate OpenAPI and a TypeScript SDK
Generate an OpenAPI 3.1 contract and typed TypeScript client from the same ServiceDesk requirements.
Events and Background Jobs
Use the generated PostgreSQL outbox and worker adapter for asynchronous ServiceDesk processing.
Testing a RAIQL Application
Generate contract, security, password and PostgreSQL tests directly from the ServiceDesk requirements.
Environment Variables and Secrets
Keep development, staging and production configuration explicit without putting secret values into RAIQL source.
Deploy a RAIQL Application
Generate Docker, Compose, Kubernetes and AWS ECS/Fargate deployment artifacts for the completed ServiceDesk application.
One application
Every tutorial continues the same ServiceDesk system, so each new capability has context.
Real syntax only
Examples use the frozen RAIQL 1.0 language surface—no roadmap syntax or imaginary commands.
Run every step
Each chapter includes commands you can execute with the stable RAIQL CLI.