Code for "Zero To Production In Rust", a book on API development using Rust.
Find a file
2020-12-05 17:07:31 +00:00
.github/workflows Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
configuration Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
migrations Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
scripts Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
src Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
tests Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
.dockerignore Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
.env Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
.gitignore Scaffolding 2020-08-23 11:34:29 +01:00
Cargo.lock Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
Cargo.toml Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
Dockerfile Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
README.md Update README.md 2020-10-14 08:59:08 +01:00
spec.yaml Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
sqlx-data.json Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00

Zero To Production / Code

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.

It is structured as a cargo workspace: running cargo build will build the codebase for all chapters. If you want to build/test/run the code for a specific chapter, just move into its folder! E.g.:

# Run tests for the first part of Chapter 3
cd chapter03-0
cargo test

Alternatively, from the top-level folder, you can specify the binary you are interested into:

# Run the application as it is at end of the first part of Chapter 3
cargo run --bin chapter03-0