Expense tracking app to track the expenses
Technology used: React & Hooks, React-Bootstrap, Java & Spring Boot, PostgressSQL,
GUI:
API:
- Create a User using postman POST : http://localhost:9090/user
{
"userName": "Tushar Goel",
"email": "tushargoel86@gmail.com"
}
-
List User: GET: http://localhost:9090/users/v2/{email}
-
You can now use expense APIs for expense
POST: http://localhost:8080/expense
{
"startDate": "2020-04-01",
"endDate": "2020-04-30",
"transactionDate": "2020-04-19",
"amount": "100",
"transactionType": "RECEIVED",
"description": "Cashback",
"tag": "Saving",
"userId": "{{userId}}"
}
- List expenses
POST: http://localhost:8080/
{
"startDate": "2020-04-01",
"endDate" : "2020-04-30",
"userId": "{{userId}}"
}
- Delete expense: You can get variable details through list expense call
DELETE: http://localhost:8080/periods/{periodId}/users/{userId}/tags/{tagId}/transactions/{transactionId}
Further Improvements:
- Add Login page
- Authentication using openid
- Deploy on AWS
- Convert into microservices