The project provides free API for manage mess.
The API is REST API and uses JWT token for user authentication purposes. Currently, return format for all endpoints is JSON.
You can try our API in Swagger (https://mess-api.herokuapp.com/swagger)
-
Registration for new mess
-
Add/ delete mess members
-
Update and record mess/users balance and expense
-
Monthly report Mess/User
- [
POSTSignUp]: /api/auth/signup - [
POSTLogin]: /api/auth/login
- [
POSTAddUser]: /api/v1/user/addUser - [
GETGetUsers]: /api/v1/user/getUsers - [
GETGetProfile]: /api/v1/user/getProfile - [
PUTUpdateProfile]: /api/v1/user/updateProfile - [
PUTChangePassword]: /api/v1/user/changePassword - [
DELETERemoveUser]: /api/v1/user/removeUser/:userId
- [
POSTAddCategory]: /api/v1/category/addCategory - [
GETGetCategory]: /api/v1/category/getCategory - [
PUTUpdateCategory]: /api/v1/category/updateCategory/:categoryId - [
DELETEDeleteCategory]: /api/v1/category/deleteCategory/:categoryId
- [
POSTAddBalance]: /api/v1/balance/addBalance - [
GETMessTotalBalance]: /api/v1/balance/messTotalBalance - [
GETUserTotalBalance]: /api/v1/balance/userTotalBalance - [
GETUserMealBalance]: /api/v1/balance/userMealBalance - [
GETCategoryWiseBalance]: /api/v1/balance/categoryWiseBalance/:categoryId - [
GETCurrentBalance]: /api/v1/balance/currentAvailableBalance - [
PUTUpdateBalance]: /api/v1/balance/updateBalance/:balanceId - [
DELETEDeleteBalance]: /api/v1/balance/deleteBalance/:balanceId
- [
POSTAddExpense]: /api/v1/expense/addExpense - [
PUTupdateExpense]: /api/v1/expense/updateExpense/:expenseId - [
GETMessTotalExpense]: /api/v1/expense/messTotalExpense - [
GETMealTotalExpense]: /api/v1/expense/mealTotalExpense - [
GETCategoryWiseExpense]: /api/v1/expense/categoryWiseExpense/:categoryId - [
DELETEDeleteExpense]: /api/v1/expense/deleteExpense/:expenseId
- [
POSTAddMeal]: /api/v1/meal/addMeal - [
PUTUpdateMeal]: /api/v1/meal/updateMeal/:mealId - [
DELETEDeleteMeal]: /api/v1/meal/deleteMeal/:mealId - [
GETTotalMealInMonthMeal]: /api/v1/meal/totalMealInMonth - [
GETCurrentMeal]: /api/v1/meal/currentMeal - [
GETMealRateInMonth]: /api/v1/meal/mealRateInMonth - [
GETUserWiseMeal]: /api/v1/meal/userWiseMeal/:userId
- [
GETMessSummary]: /api/v1/mess/messSummary - [
GETUserSummary]: /api/v1/mess/userSummary/:userId
git clone https://github.com/mirajehossain/mess-management-system.git
cd mess-management-system
npm install
npm start