A simple and efficient personal expense tracker application built using MongoDB, Vite, and modern web technologies. This application helps you manage your finances by tracking daily expenses, visualizing spending habits, and managing budgets with ease.
- Expense Tracking: Record daily transactions effortlessly.
- Category Insights: Visualize spending by categories.
- Responsive Design: Fully responsive and mobile-friendly.
- MongoDB Integration: All data is securely stored in a MongoDB database.
- Fast and Lightweight: Powered by Vite for fast development and builds.
To run the project locally, follow these steps:
git clone https://github.com/tmonga2208/expense_tracker.git
- Navigate to the Project Folder
cd expense_tracker- Install Dependencies
npm install
- Set Up MongoDB Use your MongoDB connection string. Create a .env file in the project root and add the following: env
MONGO_URI=<your-mongodb-connection-string>
PORT=5000
- Start the Development Server
npm run dev
The application will run locally at http://localhost:3000 (or the specified port).
Scripts Here are some common scripts you can use:
Start the Development Server:
npm run dev
Build for Production:
npm run build
Run Production Build Locally:
npm run preview
Technologies Used Frontend: React (with Vite) Backend: Node.js, Express.js Database: MongoDB
Contributions are welcome! If you'd like to contribute:
Fork the repository. Create a new branch (git checkout -b feature-name). Commit your changes (git commit -m 'Add feature'). Push to the branch (git push origin feature-name). Create a pull request. Author Tarun Monga GitHub: @tmonga2208