email_newsletter_api/docs/technical_write_up.md
minhtrannhat ccf49ee214
feat(log): rudimentary logging
- Changed route `subscribe` into `subscriptions`
2024-05-06 00:49:17 -04:00

14 lines
439 B
Markdown

# Technical Write Up
## Routes
- `health_check`: GET - returns a HTTP code 200 if the server is up and running. Response body is empty.
- `subscriptions` POST - returns a HTTP code 200 if the user successfully subscribed to our email newsletter service. 400 if data is missing or invalid.
## Other topics
- [Database (PostgreSQL)](./database.md)
- [Testing](./technical_write_up.md)
- [Actic-web](./actix_web.md)
- [tokio](./tokio.md)