Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 832 Bytes

File metadata and controls

18 lines (12 loc) · 832 Bytes

Axum web server template

The repository is a template for building axum based web server

  • with PostgreSQL as database & Diesel as orm
  • async-graphql for grahql specification

Inspired by Jeremy Chone course

Authorization & context handling was inspired by Jeremy Chone youtube course

To configure correctly this places should be updated:

  • .cargo/config.toml -> databse url (localhost in example), pwd key & token key (replace - with _ for RUST_LOG project name)
  • Cargo.toml -> project name
  • docker-compose.yaml -> at least db_name
  • .env -> db url for diesel
  • DockerfileApp -> axum_diesel_async_graphql_template should be replaced with project name (- replaced with _)