Rust and Axum: notes and background exports
You will use Rust 1.99.0 through rustup and build a web app named notes-web plus a worker
named notes-worker in the examples Project’s rust Environment.
Axum serves HTTP. SQLx, the MongoDB driver, Redis client, and AWS SDK provide service integrations. Cargo builds separate web, worker, and migrate binaries; their names become buildpack process types. Commit Cargo.lock: the Rust builder requires it for detection.
Complete Before you start, then follow these chapters in order:
- Create and deploy hello
- Persist notes in PostgreSQL
- Add a Redis export worker
- Save exports in object storage
- Try MariaDB or MongoDB instead
- Prepare for production, or troubleshoot and clean up
Downloads: hello source · complete notes source. The source walkthrough is included directly from those runnable files.