mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-23 17:21:01 +00:00
Code for "Zero To Production In Rust", a book on API development using Rust.
.github/workflows | ||
configuration | ||
migrations | ||
scripts | ||
src | ||
tests/api | ||
.dockerignore | ||
.env | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
Dockerfile | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
spec.yaml | ||
sqlx-data.json |
Zero To Production / Code (Chapter 9)
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 9.
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