YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Expense Tracker
A simple and intuitive web application to track your daily expenses. Built with Flask and SQLite.
Features
- User authentication (register/login)
- Add new expenses with description, amount, category, and date
- View all expenses in a clean, organized table
- Track total expenses, number of transactions, and average transaction amount
- Categorize expenses for better organization
- Responsive design that works on all devices
Setup Instructions
- Clone this repository or download the files
- Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate - Install the required packages:
pip install -r requirements.txt - Run the application:
python app.py - Open your web browser and navigate to
http://localhost:5000
Usage
- Register a new account or login if you already have one
- Click "Add Expense" to add a new expense
- Fill in the expense details (description, amount, category, and date)
- View your expenses and statistics on the dashboard
- Use the navigation bar to add more expenses or logout
Technologies Used
- Python 3.x
- Flask
- SQLAlchemy
- SQLite
- Bootstrap 5
- Flask-Login
Security Note
This is a basic implementation for learning purposes. In a production environment, you should:
- Use proper password hashing (e.g., with Werkzeug's
generate_password_hash) - Implement CSRF protection
- Use environment variables for sensitive data
- Add input validation and sanitization
- Use HTTPS
- Implement proper session management
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support