← Back to projects

Vehicle Expense Tracker

ASP.NET CoreReactTypeScriptPostgreSQLDockerEntity FrameworkTailwindCSSRechartsFly.io

A full-stack total cost of ownership (TCO) calculator for vehicles with expense tracking, fuel efficiency analytics, and cost trends.

Why this project exists: I built this to explore real-world vehicle ownership costs through data-driven insights and to gain hands-on experience with ASP.NET Core backend development, multi-type data modeling, and full-stack deployment using Docker and cloud hosting.

Focus: Backend API design with ASP.NET Core and Entity Framework · Multi-vehicle type support with smart energy calculations · Data visualization and TCO analytics

Highlights

  • JWT-based authentication with ASP.NET Identity and token-based API authorization
  • Support for multiple vehicle types with automatic fuel efficiency calculations, including mix of fuel types
  • Expense tracking across 10 categories with filtering by vehicle and category
  • TCO dashboard with visual breakdowns and monthly spending trend analysis via line charts
  • 12 passing xUnit tests ensuring backend reliability

Demo Accounts

Try the live demo using any of these pre-configured accounts, or create your own account:

Demo Account
Email:demo@vehicletracker.com
Password:Test123
Test Account
Email:test@vehicletracker.com
Password:Test123
Admin Account
Email:admin@vehicletracker.com
Password:Test123

Notable challenges

  • Implementing smart fuel efficiency calculations across different vehicle energy types
  • Designing a flexible expense categorization system that auto-generates fuel expenses from fuel entries
  • Building a containerized deployment pipeline with Docker Compose, PostgreSQL, and Nginx on Fly.io

Screenshots

Click any image to view full size

Vehicle Expense Tracker TCO dashboard showing cost breakdowns and monthly spending trends.
View full size
TCO dashboard with visual cost analysis and monthly trend charts.
Vehicle management interface showing multiple vehicles with TCO summaries.
View full size
Multi-vehicle management with per-vehicle TCO calculations.
Expense tracking view with categorized expenses and filtering options.
View full size
Expense tracking across 10 categories with filtering capabilities.
Fuel tracking view with categorized fuel types and filtering options.
View full size
Fuel tracking view with categorized fuel types and filtering options.
Reports showing cost breakdowns, monthly trends, and fuel efficiency.
View full size
Reports showing cost breakdowns, monthly trends, and fuel efficiency.