mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-15 21:21:00 +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 3, Part 1)
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 3, Part 1.
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