Tutorial & Examples
If you prefer a step-by-step tutorial on how to use SeaORM, you can check out our official SeaORM Tutorial. There are also some good tutorials written by the community!
You can also check out SeaORM Cookbook for some frequently asked questions and recommended practices of using SeaORM.
If you are so eager and want something grab-and-go, SeaQL maintains a set of official examples (we welcome more!):
Integration examples:
- Actix v4 Example
- Axum Example
- GraphQL Example
- jsonrpsee Example
- Loco TODO Example / Loco REST Starter
- Poem Example
- Rocket Example / Rocket OpenAPI Example
- Salvo Example
- Tonic Example
- Seaography Example (Bakery) / Seaography Example (Sakila)
If you want a simple, clean example that fits in a single file that demonstrates the best of SeaORM, you can try: