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!
User Authentication: Secure login, registration, and password reset using JWT and bcrypt.
Add Income: Easily add income and automatically update your balance.
Add Expenses: Record expenses and keep your finances in check.
View Transactions: Access a comprehensive history of all transactions.
Edit/Delete Transactions: Modify or remove transactions as needed.
- Forgot/Reset Password: Secure email integration for password reset requests.
-
Clone the repository:
git clone https://github.com/DikshitaDas/ExpenseTrackerPro.git
-
Navigate to the project directory:
cd ExpenseTrackerPro -
Install the required dependencies:
npm install
-
Set up environment variables in a
.envfile:MONGO_URI=your_mongo_db_connection_string jwt_salt=your_jwt_secret -
Start the server:
npm start
Node.js: Backend environment to run JavaScript.
Express.js: Framework for building robust APIs.
MongoDB: NoSQL database for storing user data and transactions.
- JWT: Secure authentication and session management.
- Nodemailer: For sending password reset emails.
Bcrypt: For hashing user passwords securely.
| 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 |
| Route | Method | Description |
|---|---|---|
/addIncome |
POST | Add new income |
/addExpense |
POST | Add new expense |
/ |
GET | View all transactions |
/:transaction_id |
DELETE | Delete a transaction |
-
Data Visualization: Graphs to visualize spending patterns.
-
Monthly Reports: Auto-generated reports summarizing expenses and income.
This project is licensed under the MIT License.