An open API service indexing awesome lists of open source software.

https://github.com/thomwright/zero2prod

Following: https://www.zero2prod.com/
https://github.com/thomwright/zero2prod

Last synced: 2 months ago
JSON representation

Following: https://www.zero2prod.com/

Awesome Lists containing this project

README

        

# Zero2prod - email subscription service

## Developing

Run `./scripts/init_db.sh` to set up a database.

Run using `cargo run`.

Or, `cargo run | bunyan` for colourful logs (prerequisite: `cargo install bunyan`).

## Testing

Run `cargo test` for all tests.

Try `TEST_LOG=true cargo test --test integration | bunyan` for integration tests with logs.

## Updating sqlx cache

`cargo sqlx prepare -- --lib`