Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 951 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 951 Bytes

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