- Project backend is based on a 3-layer architecture, specifically controllers, service, and DAO layer.
- Controllers exposes the API end-points. Controller class accepts all api request which are then passed to the service layer.
- Service layer takes care of the bussiness logic before doing database access.
- DAO layer acts as an interface between the database and the service layer.
- Basic authorization is implemented using Spring security
- Frontend is built using React and Chakra UI components
Every endpoint except /api/users/register
requires Basic auth header
- Returns list of all the CashCards owned by the user.
- Body: CashCard object to be created
- Creates new CashCard
- Body: New CashCard object
- Updates an existing CashCard
- Deletes an existing CashCard
- An empty request to check if the user is valid
- Body: User object representing new user
- Creates a new user account
- YouTube link: https://youtu.be/sw-yk5C6WmM