This project is a Finance Manager application built using Node.js, React, Bootstrap, and MongoDB. It allows users to track their expenses and credits, providing an interactive dashboard with tables and charts for financial insights.
- Frontend: React, Bootstrap
- Backend: Node.js, Express.js
- Database: MongoDB
Ensure you have the following installed:
- Node.js
- MongoDB
git clone https://github.com/your-username/finance-manager.git
cd finance-manager
Navigate to the backend folder:
cd backend
Install dependencies:
npm install
Create a .env
file for environment variables:
MONGO_URI=your_mongodb_connection_string
PORT=5000
Start the backend server:
npm start
The backend will run on http://localhost:5000.
Navigate to the frontend folder:
cd frontend
Install dependencies:
npm install
Start the frontend application:
npm start
The frontend will be available at http://localhost:3000.
npm start
– Runs the backend server.npm run dev
– Runs the backend with nodemon for auto-reloading.
npm start
– Starts the React development server.npm run build
– Builds the app for production.
✅ User signup with validation rules:
- At least 8 characters long
- Contains 1 special character (@, #, $, etc.)
- Contains 1 uppercase letter
- Contains 1 number ✅ User login with email & password verification. ✅ Error messages for incorrect credentials.
✅ New Transaction Entry:
- Add credit or expense with description, amount, and date.
✅ Transaction Table:
- Displays all recorded transactions.
- Allows sorting and filtering.
✅ Data Visualization:
- A chart showing income vs. expenses.
- Hover effects & interactive UI.
✅ Bootstrap styling for a professional look.
✅ Dark mode toggle using JavaScript.
✅ Responsive design for mobile & desktop.
npm run build
Then, deploy the build
folder to Netlify, Vercel, or any hosting provider.
Use Heroku, Render, or VPS (DigitalOcean, AWS, etc.).
git push heroku main
Ensure the MongoDB URI is correctly set in environment variables.
- Fork the repository
- Create a new branch (
feature/your-feature
) - Commit your changes (
git commit -m 'Add new feature'
) - Push to the branch (
git push origin feature/your-feature
) - Open a Pull Request
Happy Coding! 🚀