feat(log): rudimentary logging

- Changed route `subscribe` into `subscriptions`
This commit is contained in:
2024-05-06 00:49:17 -04:00
parent 2c9dab01bb
commit ccf49ee214
7 changed files with 116 additions and 9 deletions

View File

@@ -2,8 +2,8 @@
## Routes
- `health_check`: returns a HTTP code 200 if the server is up and running. Response body is empty.
- `subscribe` returns a HTTP code 200 if the user successfully subscribed to our email newsletter service. 400 if data is missing or invalid.
- `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