A full-stack Expense Tracking and Profit/Loss Management system built with ASP.NET Core 9 MVC and Entity Framework Core. This is a demo app for developers and financial planners who want to manage daily, weekly, and monthly expenses, incomes, and profitability.
π Pinned Repository Β· π§ Built with Clean Code Principles Β· π οΈ Extensible for SaaS
- Backend: ASP.NET Core 9 (MVC Pattern)
- ORM: Entity Framework Core (Code First)
- Frontend: Razor Views, Bootstrap 5, jQuery (Light UI)
- Database: SQL Server
- Dev Tools: Visual Studio 2022, GitHub, SSMS
- Hosting (Optional): Azure / Local IIS / Docker
ExpenseManagerApp/
β
βββ Controllers/ β MVC controllers (Expenses, Income, Summary, Category etc.)
βββ Models/ β Entity and View Models (Expense.cs, Income.cs, etc.)
βββ Views/ β Razor views for all features
β βββ Shared/ β Layout, partials
β βββ Expense/ β Index, Create, Edit, etc.
βββ ViewModels/ β Strongly-typed view models
βββ Data/ β DbContext and SeedData
βββ wwwroot/ β Static assets (css, js)
βββ Migrations/ β EF Core migrations
βββ appsettings.json β Connection strings and config
βββ Program.cs / Startup.cs β App startup and services
β
Expense Tracking
β
Income Logging
β
Daily, Weekly, Monthly Reports
β
Profit / Loss Calculation
β
Category + Subcategory Management
β
Recurring Expenses Suggestions
β
Future/Planned Expenses Table
β
Role-based Access (Planned)
β
Modern UI (Upcoming)
β
SaaS-ready Architecture (Optional)
-
Clone the repository
git clone https://github.com/yourusername/ExpenseManagerApp.git cd ExpenseManagerApp
-
Open in Visual Studio 2022
Make sure.NET 9 SDK
is installed. -
Configure DB connection
Updateappsettings.json
with your SQL Server connection string. -
Apply migrations & seed data
dotnet ef database update
-
Run the app
dotnet run
-
Use Seed Buttons (Optional)
Navigate to/Seed
route to add default Categories, Subcategories, Incomes, Expenses, and Recurring Expenses.
- Multi-user support with roles
- Graphs for summaries (Chart.js or Recharts)
- Recurring Expense scheduler
- Export to PDF/Excel
- Notification system
If this project helped you or inspired your own expense tracking idea:
- π Star this repository
- π΄ Fork it to extend or customize
- π Report issues or suggest features
- π€ Contribute by submitting a pull request
Built with β€οΈ by Asif Hameed | Founder @ ETEKsol
Letβs build better finance tools together!