Skip to content

Created a MERN stack application for tracking shared expenses in groups. Features user authentication, expense management, and downloadable balance sheets, enhancing skills in full-stack development and RESTful APIs.

Notifications You must be signed in to change notification settings

roy7077/Daily-Expenses-Sharing-Application

Repository files navigation

Daily Expenses Sharing Application

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.

Base URL

The deployed backend can be accessed at:https://daily-expenses-sharing-application.onrender.com/

Table of Contents

Features

  • 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

API Endpoints

Authentication

  • POST /auth/signup - Create a new user
  • POST /auth/login - User login

User

  • GET /user/:id - Get user by ID
  • GET /user - Get all users

Groups

  • 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

Expenses

  • 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

Postman Collection

You can explore the API endpoints using the Postman collection:Postman Collection

Data Base

Screenshot 2024-10-21 at 4 05 56 AM

Installation

  1. git clone https://github.com/roy7077/Daily-Expenses-Sharing-Application.git
  2. cd server
  3. npm install
  4. Set up environment variables:Create a .env file and add your MongoDB connection string and other required variables.
  5. npm start

Usage

  • Access the API using the base URL mentioned above.
  • Use the provided Postman collection to test the endpoints.

Technologies Used

  • Backend: Node.js, Express.js, MongoDB
  • Deployment: Render.com

Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue.

License

This project is licensed under the MIT License.

About

Created a MERN stack application for tracking shared expenses in groups. Features user authentication, expense management, and downloadable balance sheets, enhancing skills in full-stack development and RESTful APIs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published