This is an intemediate bootcamp project. It implements simple backend API for a bonus account service.
POST /api/user/register
— new user registration;
POST /api/user/login
— authorization;
POST /api/user/orders
— adds new order info;
GET /api/user/orders
— returns orders lisl with additional info like statuses;
GET /api/user/balance
— returns user's loyalty points account balact;
POST /api/user/balance/withdraw
— requests witdraw from balance;
GET /api/user/balance/withdrawals
— returns history of users withdrawals.