A MERN stack application designed for tracking shared expenses among users in various groups. This application allows users to easily manage their expenses, view individual contributions, and download balance sheets.
The deployed backend can be accessed at:https://daily-expenses-sharing-application.onrender.com/
- User authentication (Signup and Login)
- Manage user profiles
- Create and manage groups
- Add and manage expenses
- Download balance sheets for groups
- View individual contributions and expenses
- POST /auth/signup - Create a new user
- POST /auth/login - User login
- GET /user/:id - Get user by ID
- GET /user - Get all users
- POST /groups - Create a new group
- POST /groups/:id/add-member - Add a new member to a group
- GET /groups - Get all groups
- GET /groups/:id - Get a group by ID
- POST /expenses - Add new expense
- GET /expenses/:id - Get individual user's expenses
- GET /expenses/group/:id - Get all expenses for a group
- GET /expenses/download/:id - Download balance sheet for a group
You can explore the API endpoints using the Postman collection:Postman Collection

- git clone https://github.com/roy7077/Daily-Expenses-Sharing-Application.git
- cd server
- npm install
- Set up environment variables:Create a .env file and add your MongoDB connection string and other required variables.
- npm start
- Access the API using the base URL mentioned above.
- Use the provided Postman collection to test the endpoints.
- Backend: Node.js, Express.js, MongoDB
- Deployment: Render.com
Contributions are welcome! Feel free to submit a pull request or open an issue.
This project is licensed under the MIT License.