Production-grade SaaS | Flutter + FastAPI + PostgreSQL + Redis + MinIO + Firebase
FuelIQ is a Vehicle Intelligence Platform that gives vehicle owners complete visibility into fuel consumption, expenses, service history, and vehicle health — delivered through a premium Android app.
- 🚗 Multi-vehicle garage — manage all your vehicles in one place
- ⛽ Smart fuel logging — automatic efficiency calculation (L/100km, km/L, MPG)
- 📷 OCR receipt scanning — scan fuel receipts with Google ML Kit (on-device)
- 📊 Analytics engine — cost per km, monthly trends, efficiency tracking
- 🔔 Service reminders — date-based and odometer-based push notifications
- 💸 Expense tracking — full cost-of-ownership across 10 categories
- 🔒 Enterprise security — Clerk auth, JWT, rate limiting, OWASP controls
| Layer | Technology |
|---|---|
| Mobile | Flutter + Dart + Material 3 + Riverpod + Go Router + Freezed |
| Auth | Firebase |
| Backend | FastAPI + Python 3.13 |
| Database | PostgreSQL 16 (partitioned tables, materialized views) |
| Cache | Redis 7 |
| Storage | MinIO / AWS S3 |
| Notifications | Firebase Cloud Messaging |
| OCR | Google ML Kit (on-device) |
| Deployment | Docker + Docker Compose (Kubernetes-ready) |
| CI/CD | GitHub Actions |
fueliq/
├── backend/ # FastAPI application
│ ├── app/
│ │ ├── api/v1/ # REST routers (9 modules)
│ │ ├── core/ # Auth, DB, Cache, Storage
│ │ ├── models/ # SQLAlchemy ORM
│ │ ├── modules/ # Business logic services
│ │ ├── repositories/ # Data access layer
│ │ ├── schemas/ # Pydantic v2 request/response
│ │ ├── middleware/ # Security, rate limiting
│ │ └── tasks/ # Celery background tasks
│ ├── Dockerfile
│ └── requirements.txt
├── mobile/ # Flutter Android app
│ ├── lib/
│ │ ├── core/ # Network, Router, Auth
│ │ ├── features/ # Feature-first modules
│ │ └── shared/ # Theme, Models, Widgets
│ └── pubspec.yaml
├── docs/ # Architecture & PRD documents
│ ├── phase-01-prd.md
│ ├── phase-02-architecture.md
│ ├── phase-03-database.md
│ └── phase-16-future-scale.md
├── docker-compose.yml # Full stack orchestration
├── .env.example # Environment template
└── .github/workflows/ # CI/CD pipeline
- Docker + Docker Compose
- Flutter SDK 3.19+
- Python 3.13+ (for local dev)
cp .env.example .env
# Edit .env with your Firebase, Firebase, and database credentialsdocker compose up -d
docker compose run --rm migrate # Run DB migrations
curl http://localhost:8000/health # Verifyhttp://localhost:8000/docs
cd mobile
flutter pub get
dart run build_runner build --delete-conflicting-outputs
flutter runSee phase-02-architecture.md for full PlantUML diagrams including:
- High-Level Architecture
- Component Diagram
- Authentication Flow
- Fuel Logging Flow
- OCR Flow
- Notification Flow
| Phase | Document |
|---|---|
| Phase 1 | Product Requirements Document |
| Phase 2 | System Architecture |
| Phase 3 | Database Design |
| Phase 16 | Future Scale (100K–10M users) |
Private — All rights reserved. FuelIQ © 2026