Axum test

  • Start service
  • Basic logging
  • Handle root path
  • Improve logging with env var
  • Connect to postgres
  • Store posts POST /posts
  • Read post GET /posts/[id]
  • Update post PUT /posts/[id]
  • Delete post DELETE /posts/[id]
  • List all posts GET /posts
  • Liveness endpoint in /status/liveness
  • Readiness endpoint in /status/readiness
  • Swagger or similar
  • CORS Handling
  • Authenticate user for POST, PUT and DELETE
  • Customize logs

Refs

Cargo make

$ cargo install cargo-make
$ cargo make watch