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+



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
Engineering highlights
- 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.
- 02
Correct by construction
Money is integer santim and fuel integer millilitres; the API rejects floats in those paths with a dedicated error code.
- 03
Secure-by-default routing
Every route declares authorize('resource:action'), authenticated() or publicRoute() — or the server refuses to boot.
- 04
Safe concurrency
ETag / If-Match optimistic locking on core aggregates, Idempotency-Key on creates, and Redis locks so jobs run once across instances.
- 05
Read / write split
A pg pool router sends analytics to a read replica and stamps responses with meta.data_freshness.
- 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
