A responsive personal finance web application for tracking expenses, managing income, analyzing financial activity, and exporting organized reports.
๐ Live Demo โข ๐ Repository
Expense Tracker is a web-based personal finance management application designed to help users keep track of their everyday expenses and additional income in one place.
The application provides tools for recording transactions, organizing expenses into categories, searching and sorting records, analyzing financial activity through interactive charts, generating PDF and Excel reports, and recovering deleted records.
It also includes Firebase Authentication and Cloud Firestore for account-based data storage, along with Progressive Web App (PWA) support for an app-like experience.
The application is designed to be simple enough for everyday personal use while providing useful features for organized financial tracking.
๐ Use the application:
https://abdurrahmancce.github.io/expense-tracker/
๐ GitHub Repository:
https://github.com/abdurrahmancce/expense-tracker
Users can create an account and access their personal financial records.
- ๐ค Create an account
- ๐ Email/password login
- ๐ช Logout
- ๐ Password reset
โ ๏ธ Authentication error messages- ๐ฅ User-specific financial data
The application provides separate Login and Sign Up interfaces.
Record and manage everyday expenses with detailed information.
Each expense can include:
- ๐ Item name
- ๐ฐ Amount
- ๐ท๏ธ Category
- ๐ Date
- ๐๏ธ Optional note
Users can:
- โ Add expenses
- โ๏ธ Edit expenses
- ๐๏ธ Delete expenses
- ๐ Search expenses
- ๐ท๏ธ Filter by category
โ๏ธ Sort by date or amount- ๐ Filter by month
The updated interface includes category and note fields directly in the expense form.
Users can create and manage their own expense categories.
- ๐ท๏ธ Add categories
- โ๏ธ Edit categories
- ๐๏ธ Remove categories
- ๐ Filter expenses by category
- ๐ Analyze spending by category
Default categories are available while users can also create categories according to their needs.
Frequently used expense names can be pinned for faster entry.
For example:
๐ Transport Cost
๐ Lunch
๐ Internet Bill
๐ Tuition Fee
๐ Mobile Recharge
Clicking a pinned item can help speed up repetitive expense entry.
The expense list includes tools for finding records quickly.
Search expenses by item name.
Display expenses belonging to a specific category.
Available sorting options include:
- ๐ Oldest โ Newest
- ๐ Newest โ Oldest
- ๐ฐ Lowest โ Highest
- ๐ฐ Highest โ Lowest
These controls are available inside the All Expenses section.
The application automatically organizes financial records into different time periods.
View total spending for individual months.
Review spending across an entire year.
This makes it easier to understand how expenses change over time.
Interactive charts provide a visual overview of financial activity.
- ๐ Monthly expenses
- ๐ Yearly expenses
- ๐ท๏ธ Category-based expenses
- ๐ Monthly income
- ๐ Yearly income
The current application includes dedicated chart sections for both expenses and bonus/income.
The application also tracks money received from different sources.
Each income record can contain:
- ๐๏ธ Year
- ๐ Month
- ๐ Date
- ๐ค Giver name
- ๐ต Amount
Users can:
- โ Add income
- โ๏ธ Edit income
- ๐๏ธ Delete income
- ๐ Filter income by month
- ๐ View income summaries
- ๐ Analyze income through charts
The dedicated Bonus/Income section is built into the main application.
Deleted financial records are not immediately removed from the application.
Instead, deleted records are placed in a Trash section.
- ๐๏ธ Move deleted expenses to Trash
- ๐๏ธ Move deleted income records to Trash
- ๐ Restore deleted records
- โณ Keep deleted records for 7 days
- ๐งน Permanently remove expired records
The application explicitly informs users that deleted entries remain in Trash for seven days before permanent deletion.
Generate a financial report in PDF format.
The export functionality is useful for:
- ๐ Personal records
- ๐ Financial summaries
- ๐จ๏ธ Printing
- ๐ค Sharing reports
The application uses jsPDF and jsPDF AutoTable for PDF generation.
Export financial records to Excel for further analysis.
Excel export can be useful for:
- ๐ Data analysis
- ๐งฎ Calculations
- ๐ Custom reports
- ๐พ Offline backups
The application uses SheetJS / XLSX for spreadsheet generation.
The application supports both light and dark themes.
- โ๏ธ Light Mode
- ๐ Dark Mode
- ๐พ Theme preference persistence
- ๐ฑ Responsive dark-mode interface
The updated project includes PWA support.
The application contains a web app manifest with:
- ๐ฑ Standalone display mode
- ๐ฒ Installable app experience
- ๐จ Custom theme color
- ๐ผ๏ธ 192ร192 application icon
- ๐ผ๏ธ 512ร512 maskable icon
- ๐ Portrait orientation
The manifest defines the application as Expense Tracker with the short name Expenses and a standalone display mode.
A service worker is also included to cache core application resources and provide better resilience when network connectivity is unavailable.
The application uses Firebase for authentication and cloud data storage.
Used for:
- Account creation
- Login
- Logout
- Password recovery
Used for storing user-specific financial information.
Conceptually, the application organizes data around the authenticated user:
users/
โโโ USER_UID/
โโโ expenses
โโโ salamis
โโโ categories
โโโ pinnedItems
โโโ trash
โโโ darkMode
๐ Security: Firebase client configuration is not itself an authorization mechanism. Firestore Security Rules should enforce which authenticated users can read and modify their own records.
The project supports migration of older data stored in browser localStorage.
If previous data is detected on the device, the application can provide an option to import the old records into the Firebase-backed account.
This helps users move from an older local-storage version to the newer cloud-based application.
The application focuses on a clean and practical interface.
- ๐ณ Modern authentication card
- ๐ Interactive buttons
- ๐ Expandable dropdown sections
- ๐ Financial charts
- ๐ Responsive tables
- ๐ Search controls
- ๐ท๏ธ Category chips
- ๐ Pinned-item chips
- ๐ Toast notifications
- โณ Loading overlay
- ๐ Dark mode
- ๐ฑ Mobile-friendly layout
The application is designed for multiple screen sizes.
| Device | Support |
|---|---|
| ๐ฅ๏ธ Desktop | โ |
| ๐ป Laptop | โ |
| ๐ฑ Mobile | โ |
| ๐ฒ Tablet | โ |
On smaller screens, forms, filters, charts, and other interface elements adapt to the available screen width.
| Technology | Purpose |
|---|---|
| ๐ HTML5 | Application structure |
| ๐จ CSS3 | UI design and responsive layout |
| โก JavaScript ES6+ | Application logic |
| ๐ฅ Firebase Authentication | User authentication |
| โ๏ธ Cloud Firestore | Cloud data storage |
| ๐ Chart.js | Financial data visualization |
| ๐ jsPDF | PDF generation |
| ๐ jsPDF AutoTable | PDF table generation |
| ๐ SheetJS / XLSX | Excel export |
| ๐พ LocalStorage | Legacy data migration |
| ๐ฑ Web App Manifest | PWA configuration |
| โ๏ธ Service Worker | Asset caching and PWA support |
| ๐ GitHub Pages | Web hosting |
expense-tracker/
โ
โโโ ๐ index.html
โโโ ๐จ style.css
โโโ โก script.js
โโโ ๐ฑ manifest.json
โโโ โ๏ธ sw.js
โ
โโโ ๐ restore.html
โโโ ๐งน dedupe.html
โโโ ๐พ Expense_Tracker_Recovery.html
โ
โโโ ๐ LICENSE
โโโ ๐ README.md
โ
โโโ ๐ผ๏ธ docs/
โโโ screenshots/
Main application interface containing:
- ๐ Authentication
- ๐ธ Expense form
- ๐ท๏ธ Category management
- ๐ Pinned items
- ๐ Expense tables
- ๐ Financial summaries
- ๐ Charts
- ๐ฐ Income tracker
- ๐๏ธ Trash
- ๐ค Export controls
The current interface includes all of these major sections in the main application screen.
Contains the application's core JavaScript logic, including:
- ๐ Firebase Authentication
- โ๏ธ Firestore operations
- ๐ธ Expense management
- ๐ฐ Income management
- ๐ท๏ธ Categories
- ๐ Pinned items
- ๐ Search and filtering
- ๐ Charts
- ๐ PDF generation
- ๐ Excel generation
- ๐ Theme management
- ๐๏ธ Trash and recovery
- ๐ Data migration
Controls:
- ๐จ Visual design
- ๐ฑ Responsive layouts
- ๐ Dark mode
- ๐ Authentication UI
- ๐ Tables
- ๐ Charts
- ๐ Buttons
- ๐ท๏ธ Category chips
- ๐ Pinned items
- ๐ Toast notifications
Defines the PWA metadata and installation behavior.
Provides service-worker functionality for:
- ๐พ Caching application assets
- โก Faster repeat loading
- ๐ด Better resilience during temporary network problems
- ๐ฑ PWA support
Provides a recovery interface for restoring stored financial data.
Provides a utility for identifying and removing duplicate financial records.
Provides additional recovery and maintenance functionality.
git clone https://github.com/abdurrahmancce/expense-tracker.gitMove into the project:
cd expense-trackerBecause the project is a client-side web application, you can run it using a local development server.
Install the Live Server extension and open:
index.html
Then:
Right Click โ Open with Live Server
A static HTTP server is recommended instead of opening the file directly with file://.
To use authentication and cloud storage:
Create a project from the Firebase Console.
Enable the authentication provider required by the application.
Create a Cloud Firestore database.
Add the Firebase web configuration to the project.
Configure Firestore Security Rules so that users can only access records belonging to their authenticated account.
โ ๏ธ Never use client-side JavaScript as the only layer of authorization.
Open the application and select:
Sign Up
Enter your email and password.
Use your registered credentials to access the application.
Enter:
Item Name
Amount
Category
Date
Optional Note
Then select:
Save Expense
Pin frequently used expense names to speed up repeated entries.
Create categories that match your personal spending habits.
For example:
๐ Food
๐ Transport
๐ Education
๐ฅ Medical
๐ Family Cost
๐ป Technology
Open All Expenses and use:
- ๐ Search
- ๐ท๏ธ Category filter
- ๐ Month filter
โ๏ธ Sort options
Review:
- ๐ Monthly summaries
- ๐๏ธ Yearly summaries
- ๐ Expense charts
- ๐ฐ Income charts
- ๐ท๏ธ Category analysis
Use the Bonus/Income Tracker to record money received from different sources.
Open:
๐๏ธ Trash
Restore records within the available recovery period.
Generate:
๐ PDF
๐ Excel
for record keeping or further analysis.
๐ค User
โ
โผ
๐ Authentication
โ
โผ
๐ Main Dashboard
โ
โโโโโโโโโโโโโโผโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
๐ธ Expenses ๐ฐ Income ๐ท๏ธ Categories
โ โ โ
โโโโโโโโโโโโโโผโโโโโโโโโโโโโ
โ
โผ
๐ Search & Analysis
โ
โโโโโโโโโโผโโโโโโโโโ
โ โ โ
โผ โผ โผ
๐
Monthly ๐ Charts ๐๏ธ Trash
/Yearly
โ
โผ
๐ค Export Reports
โโโโโโโโดโโโโโโโ
โผ โผ
๐ PDF ๐ Excel
Track everyday spending and income.
Manage:
- ๐ Food expenses
- ๐ Transportation
- ๐ Tuition
- ๐ Study materials
- ๐ฑ Mobile expenses
Keep track of recurring personal or family expenses.
Review monthly and yearly spending patterns.
Export financial information into PDF or Excel for documentation.
Planned or potential improvements include:
- ๐ฏ Budget limits
- ๐ Budget notifications
- ๐ Advanced dashboard KPIs
- ๐ Calendar-based transactions
- ๐ Recurring expenses
- ๐ค CSV import/export
- ๐ Advanced category analytics
- ๐ณ Multiple account/payment tracking
- ๐ More advanced search
- ๐ด Improved offline functionality
- โ๏ธ Automated backup and restore
- ๐ Custom date-range reports
- ๐ฑ Further PWA improvements
- ๐งช Automated testing
- ๐งฉ Modular JavaScript architecture
Contributions and suggestions are welcome, subject to the project's license terms.
# Fork the repository
# Clone your fork
git clone https://github.com/your-username/expense-tracker.git
# Create a feature branch
git checkout -b feature/your-feature
# Make your changes
# Stage changes
git add .
# Commit
git commit -m "feat: add your feature"
# Push
git push origin feature/your-featureThen create a Pull Request.
Recommended prefixes:
feat: New feature
fix: Bug fix
docs: Documentation
style: Styling/UI
refactor: Code restructuring
perf: Performance improvement
security: Security improvement
chore: Maintenance
If you find a problem or have an improvement idea, open a GitHub Issue.
Please include:
- ๐ Problem description
- ๐ Steps to reproduce
- ๐ Browser information
- ๐ป Device/OS information
- ๐ธ Screenshot if applicable
- ๐ก Suggested solution if available
Add application screenshots under:
docs/screenshots/
Recommended screenshots:
docs/screenshots/
โโโ ๐ authentication.png
โโโ ๐ dashboard.png
โโโ ๐ธ expenses.png
โโโ ๐ท๏ธ categories.png
โโโ ๐ analytics.png
โโโ ๐ฐ income.png
โโโ ๐๏ธ trash.png
โโโ ๐ dark-mode.png
โโโ ๐ฑ mobile.png
Copyright ยฉ 2026 Abdur Rahman Akash
This project and its source code are not licensed for free reuse, redistribution, modification, deployment, or commercial use.
Viewing and studying the source code for educational purposes is permitted.
Any other use requires prior written permission from the author.
For complete terms, see:
๐ LICENSE
Abdur Rahman Akash
๐ง akash.abdur.2002@gmail.com
๐ https://github.com/abdurrahmancce
๐ Computer & Communication Engineering Student
๐ป Developer
๐ค AI & Technology Enthusiast
๐ Research & Software Development Learner
- ๐ GitHub: https://github.com/abdurrahmancce
- ๐ผ LinkedIn: https://www.linkedin.com/in/abdur-rahman-akash26/
- ๐ Portfolio: https://abdurrahmancce.github.io/Personal-Portfolio/
- ๐ง Email:
akash.abdur.2002@gmail.com
If you find this project useful:
โญ Star the repository
๐ด Fork the project
๐ Report bugs
๐ก Suggest improvements
๐ค Contribute where permitted