mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-02 22:26:31 +00:00
Code for "Zero To Production In Rust", a book on API development using Rust.
.github/workflows | ||
migrations | ||
scripts | ||
src | ||
tests | ||
.env | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
configuration.yaml | ||
README.md |
Zero To Production / Code (Chapter 4)
Zero To Production In Rust is an opinionated introduction to backend development using Rust.
This repository serves as supplementary material for the book: it hosts snapshots of the codebase of our email newsletter project at end of each chapter.
This branch is a snapshot of the project at the end of Chapter 4.
Pre-requisite
You'll need to install:
Launch a (migrated) Postgres database via Docker:
./scripts/init_db.sh
How to build
Using cargo
:
cargo build
How to test
Using cargo
:
cargo test