Docs / Guides
Guides
Step-by-step walkthroughs for common tasks. New here? Start with the getting started guide, then pick whatever matches what you're building.
Getting started
-
Getting started
Install the CLI, create your first project, and run it locally in about five minutes.
-
Project structure
What each directory and config file is for, and how they fit together.
-
Configuration
Environment variables, config files, and how values are resolved across environments.
Building
-
Routing
Define routes, path parameters, query strings, and nested layouts.
-
Authentication
Sessions, tokens, and protecting routes for signed-in users only.
-
Working with the database
Connecting, migrations, queries, and transactions.
-
Error handling
Custom error pages, logging, and returning consistent error responses from your API.