A web-based Expense Tracker built using Django and Tailwind CSS that allows users to add, edit, and delete expenses. It displays data visually using pie charts and line charts for insightful tracking over days and categories.
- Add, Edit, Delete Expenses
- View all expenses in a clean tabular layout
- Track total spending for:
- Last 7 days
- Last 30 days
- Last 365 days
- Visualizations using Chart.js:
- Daily expense trends (Line Chart)
- Category-wise expense distribution (Pie Chart)
- Data aggregation by:
- Date (Last 30 Days)
- Category
- Backend: Django
- Frontend: HTML, Tailwind CSS, Chart.js
- Database: SQLite (default for Django)
expense-tracker/ ├── myapp/ │ ├── templates/ │ │ └── myapp/ │ │ ├── base.html │ │ ├── index.html │ │ └── edit.html │ ├── static/ │ │ └── myapp/ │ │ ├── images/ │ │ │ ├── wallet.png │ │ │ ├── edit.png │ │ │ └── delete.png │ │ └── style.css / styles.css │ ├── models.py │ ├── views.py │ ├── urls.py │ └── forms.py ├── project_root/ │ └── urls.py ├── db.sqlite3 ├── manage.py └── README.md
git clone https://github.com/yourusername/expense-tracker.git
cd expense-trackerpython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install djangopython manage.py makemigrations
python manage.py migratepython manage.py runserverVisit: http://localhost:8000
- User authentication (Login/Signup)
- Export expenses to CSV/PDF
- Responsive design improvements
- Filter/search expenses by category or date
Pull requests are welcome! For major changes, please open an issue first.
This project is licensed under the MIT License.
Sneha Vishwakarma
Software Developer
LinkedIn