Expense Tracker is a web application that allows users to efficiently manage and track their expenses. Built with Flask and MongoDB for the backend and HTML/CSS for the frontend, this application offers a user-friendly interface and essential features for managing personal finances.
- User Authentication: Sign up and log in to manage personal expenses.
- Expense Management: Add, edit, and delete expense entries.
- Expense Overview: View and manage expenses.
- Responsive Design: A mobile-friendly interface for seamless use across various devices.
- Backend: Flask, MongoDB
- Frontend: HTML, CSS
- JavaScript: Vanilla JavaScript for modal functionality and form handling
- Python 3.x
- MongoDB
-
Clone the Repository:
git clone https://github.com/yourusername/expense-tracker.git cd expense-tracker
-
Create a Virtual Environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Dependencies:
pip install -r requirements.txt
-
Configure Environment Variables:
Create a
.env
file in the root directory and add the following:SECRET_KEY=your_secret_key_here MONGO_URI=your_mongodb_connection_string_here
-
Run the Application:
flask run
The application will be accessible at
http://127.0.0.1:5000
.
- Adding Expenses: Click the "Add Expense" button to open the modal form and enter expense details.
- Editing Expenses: Click the "Edit" button next to an expense to open the modal with current details and make changes.
- Deleting Expenses: Click the "Delete" button to remove an expense after confirming the action.
Contributions are welcome! Please fork the repository and submit a pull request with your changes. Ensure your code follows the project’s style guidelines and passes all tests.
This project is licensed under the MIT License - see the LICENSE file for details.
For questions or suggestions, please reach out to dheerajgupta1902@gmail.com.