Maritime supply chain platform
A multi-tenant maritime supply chain platform, built from an empty repo and owned end to end. Async FastAPI on PostgreSQL and Redis, live AIS vessel tracking, procurement, CRM and accounting, with the tracing and audit trails needed to keep the thing honest. It is the largest system I've built and the one I'll defend line by line.
Built with:
- Python
- FastAPI (async)
- SQLAlchemy
- PostgreSQL
- PostGIS
- Redis
- Celery + Workers
- OpenTelemetry
- Prometheus
- Docker
- Azure
What's inside:
- Layered async FastAPI on PostgreSQL and Redis, with clear service boundaries
- Multi-tenant, with strict per-account isolation, RBAC and field-level audit logging
- TDD-driven development with around 3570 tests, DRY and SOLID principles
- Design patterns used: Repository, Unit of Work. Creational patterns like Factory, Builder. Behavioral patterns like Observer, Strategy. Structural patterns like Adapter, Decorator.
- Geospatial vessel and route data on PostGIS, more than a billion points across thousands of vessels
- A full procurement flow: jobs, supplier inquiries, quotations and purchase orders, with CRM and accounting around it
- Per-request transaction boundaries with explicit commit and rollback handling
- AI-assisted workflows with context-aware draft replies for end users
- Full-text search with GIN indexes, async background jobs on Celery, traced with OpenTelemetry and Prometheus
- Built from an empty repo and still actively developed in production