Money-Tracker

Money Tracker App

Overview

Money Tracker App is a simple web application that helps you track your income and expenses. It allows users to add, update, delete, and view their financial records. This project is built using Node.js, Express, and MongoDB, with Mongoose as the ODM.

Features

Technologies Used

Installation

  1. Clone the repository:

     git clone https://github.com/Sweety-Vigneshg/money-tracker-app.git
     cd money-tracker-app
    
  2. Install dependencies:

     npm install
    
  3. Set up MongoDB:

    Make sure you have MongoDB installed and running on your local machine or have access to a remote MongoDB instance.

  4. Configure MongoDB connection:

    In index.js, update the MongoDB connection string if necessary:

     mongoose.connect('mongodb://localhost:27017/money_tracker', {
       useNewUrlParser: true,
       useUnifiedTopology: true,
       useCreateIndex: true,
       useFindAndModify: false
     });
    
  5. Run the application:

     npm start
    

    The server should now be running on http://localhost:3000.

Project Structure

API Endpoints

Expenses

Incomes

Frontend

A simple HTML page public/expenses.html is provided to showcase the expenses. You can extend this with more pages and styles as needed.

Contributing

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

License

This project is licensed under the MIT License.