AttireBulk is a B2B fashion wholesale marketplace. Retailers and wholesalers in Pakistan use it to buy ready-to-order stock straight from verified factories: men's, women's and kids' wear, footwear, and accessories, in bulk, at factory-direct prices.
It isn't one app. It's a small family of them, and the way they're split, and the tools underneath, came from the problem rather than from what was fashionable. This post walks through those decisions.
The problem it had to solve
Bulk clothing in Pakistan has traditionally moved through middlemen. A retailer who wants a few hundred pieces calls someone, who calls someone else, who knows a factory. Prices change depending on who's asking. Nobody can see what's actually in stock until they've already committed.
So the product needed three things from day one:
- Transparent pricing, so buyers see factory-direct prices up front.
- Real-time inventory, so what's on screen is what's actually available.
- Secure bulk ordering, so a large order feels as safe as a small one.
Most of the decisions below trace back to one of those, or to the practical reality of running several apps at once.
Three apps, not one
Buyers and sellers want completely different things from the same marketplace. A retailer wants to browse, compare, and order. A manufacturer wants to accept orders, update stock, and see what's selling. Cramming both into one app makes both experiences worse.
So the system is split by who's using it:
- AttireBulk: the buyer app, for browsing and ordering.
- Seller Center: the seller's back office, for orders, catalog, inventory, buyers, and sales analytics.
- Shipper: dispatch and delivery coordination, currently in development.
They're built to work together: buyers place orders in AttireBulk, sellers manage those orders in Seller Center, and Shipper is being built to coordinate deliveries across the same network. Each app only shows its user what they need.
One codebase, two stores: Flutter
AttireBulk serves buyers in Pakistan and abroad, with multi-currency pricing and international shipping, so it had to be on both Android and iOS from the start.
Building two native apps for every product in the family would have meant doubling the work for each one. Flutter lets one Dart codebase ship to both the App Store and Google Play, with the same UI and the same behaviour on both. When you run several apps at once, that is the difference between shipping and not shipping.
Real-time by default: Firebase
"Real-time inventory" isn't a nice-to-have in wholesale. If two retailers order the last 300 units of the same article, one of them gets a bad surprise, and the seller gets a support headache.
Firebase sits behind the apps and keeps them in sync. When a seller updates sizes, colours, fabrics, or prices in Seller Center, buyers see it. When a buyer places an order, the seller gets a push notification the moment it lands. Restock and new-arrival alerts on the buyer side work the same way.
The trade-off is that a real-time backend like Firebase asks you to plan data around the screens that read it, which is a different way of thinking from a classic SQL backend. For an app where most screens are live views of changing stock, it fits.
Fixing things without waiting for the store: Shorebird
A normal mobile release goes through app store review. That's fine for new features, but painful when a bug is stopping someone from placing an order today.
Shorebird adds code push to Flutter apps. Fixes to the app's Dart code can be pushed straight to installed apps, without a full store release. For a marketplace where every broken checkout is lost revenue for a seller, being able to ship a fix the same day matters more than almost any feature.
Features that shaped the build
A few product features had a bigger effect on the architecture than you'd expect from their names:
- Feeels: full-screen, scrollable product videos you can buy straight from. Video changes the app's performance budget: loading, caching, and smooth scrolling all become first-class concerns.
- Matchy Matchy: coordinated outfit sets for the whole family. A set is several products shown together as one look, which shapes how products relate to each other in the data.
- Custom manufacturing: private-label branding and packaging with verified factories. An order here is closer to a project than a purchase.
- One-tap reordering: wholesale buyers reorder what sells. Making that one tap means past orders have to be easy to rebuild against today's stock and prices.
What I'd tell anyone planning an app like this
- Split apps by user, not by feature. Buyers and sellers should each get an app that feels made for them.
- Decide what has to be real-time early. For AttireBulk that meant stock and orders. That choice drives your backend.
- Plan for fixing fast. Something will break after launch. How quickly you can ship the fix matters more than how rare bugs are.
- Let the business problem pick the tools. Each tool here solves a concrete problem: reaching both platforms, keeping stock live, or fixing bugs fast.
Related project
See the full project page: AttireBulk, B2B fashion wholesale marketplace.