Simple boilerplate with very few dependencies.
- Good error handling with correct status codes
- Responses in JSON format
- Easy CORS configuration, header already set up
- Modular routing
- The tests uses the real HTTP server handlers (functions/endpoints)
cargo build
cargo watch -x run
Open your terminal and paste the command:
curl -v --url localhost:8080/gabriel