Backend for home budget manager application based on:
- pekko-http
- slick
- cats
- sealed monad
- macwire
- circe
Authentication with JWT Tokens
sbt run
sbt test
POST /budgets
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
{
"name": "Example Budget name"
}
Response details:
Status Code | Description |
---|---|
200 | Success |
400 | Bad Request |
500 | Internal server error |
PATCH /budgets/{budget_id}
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
{
"name": "New Budget name"
}
Response details:
Status Code | Description |
---|---|
200 | Success |
400 | Bad Request |
403 | Forbidden |
404 | Not Found |
500 | Internal server error |