Mess-Manager Backend is the backend component of the Mess-Manager application. It contains the logic, functions, routes, and endpoints necessary for managing mess-related operations.
- Clone the repository
- Install dependencies:
npm install
- Create a
.env
file in the root directory and add the following environment variables:
PORT=8000
CORS_ORIGIN=*
MONGO_URI=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
ACCESS_TOKEN_SECRET=
ACCESS_TOKEN_LIFE=
REFRESH_TOKEN_SECRET=
REFRESH_TOKEN_LIFE=
- Start the server:
npm start
- The API will be accessible at
https://localhost:8000/api/v1
- User Route:
/api/v1/users
- Mess Route:
/api/v1/mess
- Incoming Amount Route:
/api/v1/incomingAmount
- Expense Route:
/api/v1/expenses
- Health Route:
/api/v1/health
For detailed information on how to use the API and interact with the routes, please refer to the Postman collection here.
- Rohan Gope - Full Stack Developer
- Kushal Ghosh - UI Designer and Frontend Developer
Work on the frontend component of the Mess-Manager application is currently in progress.You can find the repository here