Find a guide
Once you have your first app running, choose a guide for the task in front of you. Each page explains one part of working with Rent. You can read them independently.
For a step-by-step course, follow Learn by example. It grows Maya and Ken's writing app through queries, relationships, transactions, and access rules, introducing one topic at a time.
Build your application
-
Add Rent to an existing app — integrate the client without rebuilding your project.
-
Database connections — connect to SQLite or a local or hosted database server.
-
Define a schema — describe models, fields, relationships, and database objects in RSL.
-
Generate the client — turn your schema into the Rust API your application uses.
-
Migrations — review and apply schema changes as your application grows.
-
Write efficient queries — use projections, batched counts, and short transactions.
-
Browse data with Studio — inspect your development database in the browser.
-
Command-line workflow — bring the commands together in your everyday development loop.
Prepare to ship
- Test your application — check queries, transactions, and access boundaries.
- Deploy safely — configure connections and apply reviewed migrations in production.
- Troubleshooting — diagnose common setup and runtime problems.
The concept guides explain how Rent's features fit together. For specific options, use the CLI reference, configuration reference, or Rust API reference.
