Multi-tenant logistics and courier platform
Replacing two separate legacy systems with one multi-tenant platform, plus an API for a driver and staff mobile app.
Independent project for a logistics and courier company in Sri Lanka
Problem
The business ran its express and logistics operations on two separate legacy systems. Data lived in two places, each system had to be maintained on its own, and there was no shared foundation for new features such as a mobile app.
My role
Solution design and development: the tenancy model, the data migration path from both legacy systems, the backend, and the API contract for the mobile app.
Technologies
- Laravel
- PHP
- MySQL
- REST APIs
- Flutter
Solution
- One Laravel application serves every business unit, replacing both legacy systems.
- A central landlord database holds shared configuration and tenant records, while each tenant has its own isolated database.
- Data is migrated from the express and logistics systems into the new tenant databases.
- The backend exposes REST APIs that an Android and iOS app for drivers and staff, built in Flutter, will consume.
1. Being replaced
2. New platform
3. Served by the platform
Laravel application
One codebase serves every business unit. A central landlord database stores shared configuration and the list of tenants, and routes each request to the right tenant database.
Outcome
- The platform is in development, so there are no production results to report yet.
- The design removes the need to maintain two systems and gives each business unit isolated data with a shared codebase.