minhtrannhat 84fc74a0d1
feat: subscribe API route skeleton
- Added `serde` crate for serialisation or deserialisation of data
- Added test cases for the `subscribe` API route
- Refactor the testing setup to another module `test_utils`
- use random TCP port for testing
2024-04-22 17:00:55 -04:00
2024-04-22 17:00:55 -04:00
2024-04-22 17:00:55 -04:00
2024-04-22 17:00:55 -04:00
2024-03-23 19:04:25 -04:00
2024-04-22 17:00:55 -04:00
2024-04-22 17:00:55 -04:00
2024-03-29 23:45:33 -04:00

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 run to 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.

Technical Write Up

Description
An email newsletter API in rust
Readme 371 KiB
Languages
Rust 88.4%
Shell 11.6%