mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-16 05:31:02 +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 | ||
README.md | ||
spec.yaml | ||
sqlx-data.json |
Zero To Production / Code (Chapter 7 - Part 2)
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 7 - Part 2.
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