Skip to content

DikshitaDas/ExpenseTrackerPro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expense Tracker Pro Expense Tracker Pro

Node.js Express.js MongoDB JWT Nodemailer Bcrypt


📖 Introduction

Expense Tracker Pro is a powerful web application built on the MERN stack (MongoDB, Express.js, React.js, Node.js) that simplifies personal finance management. Track your income and expenses with ease and gain insights into your financial habits!


🌟 Features

  • Login User Authentication: Secure login, registration, and password reset using JWT and bcrypt.
  • Add Income Add Income: Easily add income and automatically update your balance.
  • Add Expense Add Expenses: Record expenses and keep your finances in check.
  • Transactions View Transactions: Access a comprehensive history of all transactions.
  • Edit/Delete Edit/Delete Transactions: Modify or remove transactions as needed.
  • Forgot/Reset Password: Secure email integration for password reset requests.

⚙️ Installation

  1. Clone the repository:

    git clone https://github.com/DikshitaDas/ExpenseTrackerPro.git
  2. Navigate to the project directory:

    cd ExpenseTrackerPro
  3. Install the required dependencies:

    npm install
  4. Set up environment variables in a .env file:

    MONGO_URI=your_mongo_db_connection_string
    jwt_salt=your_jwt_secret
    
  5. Start the server:

    npm start

🛠️ Technologies Used

  • Node.js Node.js: Backend environment to run JavaScript.
  • Express.js Express.js: Framework for building robust APIs.
  • MongoDB MongoDB: NoSQL database for storing user data and transactions.
  • JWT: Secure authentication and session management.
  • Nodemailer: For sending password reset emails.
  • Bcrypt Bcrypt: For hashing user passwords securely.

📋 API Endpoints

Auth Routes

Route Method Description
/register POST Register a new user
/login POST User login with JWT token
/forgotpw POST Request password reset
/resetpw POST Reset password with code

Transactions Routes

Route Method Description
/addIncome POST Add new income
/addExpense POST Add new expense
/ GET View all transactions
/:transaction_id DELETE Delete a transaction

🔮 Future Enhancements

  • Data Visualization: Graphs to visualize spending patterns.

  • Monthly Reports: Auto-generated reports summarizing expenses and income.


📝 License

This project is licensed under the MIT License.

About

Expense Tracker Pro is a Backend web application that enables users to manage their finances by tracking income and expenses securely using JWT for authentication and Nodemailer for password recovery.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors