daf914bb8e9d356e13786f85ff7275a525c7b6fe
- Build SQLx queries beforehand so that we don't have to do PostgreSQL init right away at service start up - Created `Dockerfile.production` - Updated docs - Seperate configuration files for local and development environments
Email Newsletter API
- An API to enable blog visitors subcribe to the newsletter so that they can receive updates when new content is published on the blog.
Development setup
- Install cargo-watch.
- Open your favorite text editor (better be neovim or emacs).
- Run
cargo watch -x check -x test -x runto lint, test and run the binary as soon as you make a change to the file. - Bonus: install and use
mold, a very fast linker that can link your Rust binary blazingly fast.
Notable Dependencies
actix-web: Most popular Rust web frameworkserde: Data structure serialization/deserializationtokio: Async Runtimetracing: Alternative to traditional loggingsqlx: SQL toolkit for Rust. Offers compile-time SQL checked queries
Technical Write Up
Description
Languages
Rust
88.4%
Shell
11.6%