simple CRUD api for QnA service written in rust
- warp (web framework)
- sqlx (db interface)
- shuttle (cloud platform for easy deployment)
Rust and postgresql is required to run locally
# setup env vars
cp .env.example .env
cargo run --bin http
cargo-shuttle is required (refer shuttle.rs docs)
# setup env vars
cp .env.example Secrets.toml
cargo shuttle run