Code for "Zero To Production In Rust", a book on API development using Rust.
Go to file
2021-07-05 08:36:25 +02:00
.github/workflows Use the latest version of sqlx-cli, 0.5.5. 2021-07-05 08:09:23 +02:00
migrations Chapter 03 - Part 1 (snapshot). 2020-12-05 16:59:56 +00:00
scripts Fix migration script. 2021-04-28 20:42:05 +01:00
src Update to latest tokio / actix-web / sqlx / reqwest. 2021-02-11 08:11:45 +00:00
tests Chapter 03 - Part 1 (snapshot). 2020-12-05 16:59:56 +00:00
.env Chapter 03 - Part 1 (snapshot). 2020-12-05 16:59:56 +00:00
.gitignore Scaffolding 2020-08-23 11:34:29 +01:00
Cargo.lock Update to the latest lexical core version to avoid conflicts with the new BITS constants 2021-07-05 08:36:25 +02:00
Cargo.toml Tokio is a dev dependency. 2021-02-11 08:52:04 +00:00
configuration.yaml Chapter 03 - Part 1 (snapshot). 2020-12-05 16:59:56 +00:00
README.md Update README. 2020-12-05 17:26:37 +00:00

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