Skip to content
GET /projects

01 · Senior project · Fleet Management System

FMS

An operations platform for vehicles, drivers, trips, fuel and maintenance — built like enterprise software.

Role
Backend engineer · architecture, API, database, integrations
Timeline
2025 – 2026
domain modules
16
migrations
90+
fleet-management-system.app
Fleet manager dashboard: utilisation, cost per km and breakdown risk
Fleet manager dashboard: utilisation, cost per km and breakdown risk
fleet-management-system.app
Trip replay comparing the GPS track with the planned route
Trip replay comparing the GPS track with the planned route
fleet-management-system.app
Fuel reconciliation flagging vehicles that used more than their trips needed
Fuel reconciliation flagging vehicles that used more than their trips needed

The problem

Ethiopian fleet operators run dispatch, fuel, maintenance and compliance on paper and spreadsheets. Money and fuel numbers drift, nobody can see where vehicles are, and audits mean digging through binders. The system had to serve seven back-office roles, a live command center and drivers with patchy connectivity.

The solution

A modular-monolith backend in Node.js and TypeScript with 16 domain modules, each owning its PostgreSQL schema. Writes are audited and publish events through a transactional outbox; reporting reads go to a replica. Drivers use an offline-first PWA whose queued writes are made safe by idempotency keys, and a Python ML service scores vehicles for predictive maintenance.

Architecture

REST + idempotencyREST + Socket.IOraw SQLcache, locksscoringDriver PWAPortals (React)Express API16 modulesOutbox / jobsPostgreSQL + replicaRedisFastAPI ML

Engineering highlights

  1. 01

    Enforced module boundaries

    A custom ESLint plugin fails CI when one module imports another's internals or touches a schema it doesn't own.

  2. 02

    Correct by construction

    Money is integer santim and fuel integer millilitres; the API rejects floats in those paths with a dedicated error code.

  3. 03

    Secure-by-default routing

    Every route declares authorize('resource:action'), authenticated() or publicRoute() — or the server refuses to boot.

  4. 04

    Safe concurrency

    ETag / If-Match optimistic locking on core aggregates, Idempotency-Key on creates, and Redis locks so jobs run once across instances.

  5. 05

    Read / write split

    A pg pool router sends analytics to a read replica and stamps responses with meta.data_freshness.

  6. 06

    Contract tested

    A test fails if any mounted route is missing from the OpenAPI spec or the generated permission matrix is stale.

Technologies

  • Node.js 22
  • TypeScript
  • Express
  • PostgreSQL 16
  • Redis
  • Socket.IO
  • zod
  • FastAPI
  • scikit-learn
  • React
  • Docker
  • GitHub Actions
next case fileDeluxe Furniture