Skip to content

mishaszu/axum-diesel-async-graphql-template

Repository files navigation

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 _)

About

Template repository to setup Axum http server with PostgreSQL & diesel for persistent layer and async-graphql for graphql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published