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/
- Host: GitHub
- URL: https://github.com/thomwright/zero2prod
- Owner: ThomWright
- Created: 2021-12-24T13:01:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-19T21:28:59.000Z (about 3 years ago)
- Last Synced: 2025-01-18T17:57:05.139Z (4 months ago)
- Language: Rust
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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`