Warp Project Generator.
Scaffold a ready-to-run Warp API for Rust with a clean project structure, sqlx ORM, SQLite database, and Cargo for dependencies in one command. The code is yours, with no runtime dependency on TriStack.
Why Warp
Warp builds routes by composing filters, so extraction, validation, and routing are all the same building block. This stack uses SQLx for async SQL access.
- Small, composable APIs
- Developers who like functional-style composition
- Services that sit close to Hyper
Create the project
tristack my-warp-app --language rust --framework warp --frontend none --orm sqlx-rust --migrations none --database sqlite --package-manager cargo --addons docker cargo-watch clippy --git --install
What's included
- Warp app with an items CRUD example and a health check
- sqlx ORM
- SQLite database
- Cargo for dependencies
- Docker
- Cargo Watch
- Clippy
Run it
cd my-warp-app cargo build cargo watch -x run
- GET /health
- GET /api/v1/items
- POST /api/v1/items
