Tutorials
Learning-oriented lessons that guide you through building real features with Roost.
Tutorials take you step-by-step through building something real. Every step is designed to succeed — follow along and learn by doing.
Start Here
- Quick Start — Install the CLI, scaffold a project, add a route, create a model, and deploy. ~15 minutes.
Build Something Real
- Build an AI Chat App — Create a chat interface powered by Cloudflare Workers AI with conversation history stored in D1. ~30 minutes. Uses @roostjs/ai, @roostjs/orm, @roostjs/start, @roostjs/schema.
- Build a REST API — Create a CRUD API with database models, validation, and tests. ~35 minutes. Uses @roostjs/orm, @roostjs/core, @roostjs/testing, @roostjs/start.
- Build a SaaS App — Add authentication, subscription billing, and background jobs. ~45 minutes. Uses @roostjs/auth, @roostjs/billing, @roostjs/orm, @roostjs/start, @roostjs/queue.
Deploy
- Deploy to Cloudflare — Take your app from local development to production on Cloudflare Workers. ~20 minutes. Uses @roostjs/cloudflare, @roostjs/start, @roostjs/cli.