Rocket Project Generator.
Scaffold a ready-to-run Rocket API for Rust with a clean project structure, SeaORM ORM, SQLite database, and Cargo for dependencies in one command. The code is yours, with no runtime dependency on TriStack.
Why Rocket
Rocket focuses on ergonomics: attribute-based routes, typed parameters, and request guards for things like auth and validation. This stack pairs it with SeaORM, an async ORM with an ActiveRecord-style API.
- Developers new to Rust web development
- Readable, attribute-driven routing
- Async ORM workflows
Create the project
tristack my-rocket-app --language rust --framework rocket --frontend none --orm seaorm --migrations none --database sqlite --package-manager cargo --addons docker cargo-watch clippy --git --install
What's included
- Rocket app with an items CRUD example and a health check
- SeaORM ORM
- SQLite database
- Cargo for dependencies
- Docker
- Cargo Watch
- Clippy
Run it
cd my-rocket-app cargo build cargo watch -x run
- GET /health
- GET /api/v1/items
- POST /api/v1/items
