/zero2template

A starting point for services in rust

Primary LanguageRust

zero2template

CI

A template, to be used with cargo-generate, to create a small web service. Much of the code is based off the approaches suggested in the zero2production book, using axum as the framework and sqlx for interacting with an sqlite database

To generate a project using this template:

cargo generate -a 1024bees/zero2template

After running the command, there will be a few prompts:

  • Project Name: Name of the crate.
  • Add sqlx, with sqlite as the database driver?: Will add scaffolding to interact with an sqlite database with sqlx