mess-management-system
mess-management-system copied to clipboard
Mess management system
Mess Management System API
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)
Features
-
Registration for new mess
-
Add/ delete mess members
-
Update and record mess/users balance and expense
-
Monthly report Mess/User
Endpoints
Auth Resources
- [
POSTSignUp]: /api/auth/signup - [
POSTLogin]: /api/auth/login
User Resources
- [
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
Category Resources
- [
POSTAddCategory]: /api/v1/category/addCategory - [
GETGetCategory]: /api/v1/category/getCategory - [
PUTUpdateCategory]: /api/v1/category/updateCategory/:categoryId - [
DELETEDeleteCategory]: /api/v1/category/deleteCategory/:categoryId
Balance Resources
- [
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
Expense resources
- [
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
Meal resources
- [
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
Mess Resources
- [
GETMessSummary]: /api/v1/mess/messSummary - [
GETUserSummary]: /api/v1/mess/userSummary/:userId
Prerequisites
After complete installation Node and mongodb.
git clone https://github.com/mirajehossain/mess-management-system.git
cd mess-management-system
npm install
npm start