Study spring boot bank app project.
The application is stateless and stores sessions using a JWT token (storage it in a cookie). All endpoints related to the application's business logic require user authorization.
Api has following endpoints:
Name of endpoint | Description | GET | POST |
---|---|---|---|
/api/v1/auth/register |
Register new user | ✅ | |
/api/v1/auth/login |
Login to account | ✅ | |
/api/v1/user/bill |
Create and check user bills | ✅ | ✅ |
/api/v1/user/bill/replenishment |
Refill user bill | ✅ | |
/api/v1/user/bill/transfer |
Do a cash transfer between bills | ✅ | |
/api/v1/user/bill/transactions |
Show user transactions | ✅ |
App requires postgresql database (dont forget change application.properties
file)