Includes app that can be deployed on AWS lambda or run in a docker. also includes an example app for sqs events.
- Install Rust (https://www.rust-lang.org/tools/install)
- Make sure the Postgres server is running.
- Install sqlx-cli
cargo install sqlx-cli
- rename
.env.example
to.env
- Run migrations
sqlx migrate run
- install cargo watch
cargo install cargo-watch
- prepare query cache for sqlx
cargo sqlx prepare --workspace
- Install Nextest for testing https://nexte.st/book/pre-built-binaries.html
- Check
Makefile
to start app(s)