Freso (Dhaara)
A scalable B2B logistics and delivery management platform.

01What problem were we trying to solve?
Regional distributors lacked a single system to manage products, orders, logistics partners, and customers across multiple regions.
Existing solutions were either fragmented (separate tools for admin, logistics, and customers) or not built for B2B workflows like KYC, regional pricing, and delivery assignment.
There was a clear need for a unified platform that could handle multi-role access, real-time order flow, and cross-platform usage without duplicating backend logic.
02What did we build, and what decisions mattered?
We built Freso (Dhaara), a full-stack B2B logistics system consisting of a Next.js web platform (admin, logistics, customer portals) and a Flutter mobile app for customers.
A key architectural decision was using a single shared Supabase backend for web and mobile, enabling one source of truth, unified authentication, and real-time sync across platforms.
We designed strict role-based access control (Super Admin, Regional Admin, Logistics Partner, Customer) enforced at the database level using RLS, reducing application-layer complexity while improving security and scalability.
03What changed or what did we learn because of it?
The system successfully supported end-to-end order flow, from regional product listing and KYC to delivery OTP verification, validating the shared-backend architecture.
We learned that enforcing business logic at the database level (RLS + schema design) dramatically simplifies multi-platform development and reduces bugs.
If rebuilt, we would modularize analytics and reporting earlier, as operational data quickly became valuable for regional decision-making once the platform was in use.
Freso demonstrates how a well-designed shared backend and role-driven architecture can power complex B2B logistics workflows across web and mobile without duplication.