Money Tracker is a web application built using the MERN stack (MongoDB, Express.js, React, and Node.js) to help users track their income and expenses.
- Add and view transactions
- Calculate balance
- Responsive design
- Frontend: React.js, HTML, CSS
- Backend: Node.js, Express.js
- Database: MongoDB (hosted on MongoDB Atlas)
money-tracker/
├── api/ # Backend (Express.js)
│ ├── models/ # MongoDB models
│ └── index.js # Backend server setup
├── src/ # Frontend (React.js)
│ ├── App.js # Main React component
│ └── index.js # React app entry point
├── .env # Environment variables
└── README.md # Project documentation
- Node.js and Yarn installed
- MongoDB Atlas account
git clone <repository-url>
cd money-trackercd api
yarn install
# Create a .env file with MongoDB URL
node index.jscd ..
yarn install
# Create a .env file with API URL
yarn start- POST
/api/transaction- Add a new transaction. - GET
/api/transactions- Fetch all transactions.