Inspiration
When I go to most open-air market in Nigeria, I see independent retail merchants working side by side. Yet, despite their proximity they face a massive disadvantage alone which is that inflation is driving up inventory costs and major wholesalers require high Minimum Order Quantities (MOQs) to unlock discounted prices. A single shop owner cannot afford to buy 100 crates of stock at once, forcing them to buy from expensive local middlemen who eat away their thin profit margins. I often ask myself What if independent retailers could easily combine their buying power to bypass the middlemen entirely?
What it does
MarketPool is a mobile-first, collaborative B2B group-buying platform that lets small retail merchants team up to hit wholesale MOQs.
For Wholesalers: It provides a direct channel to list bulk deals with specific unit costs and MOQ requirements. For Merchants: It offers a discovery dashboard to browse active community pools, calculate potential savings in real-time and pledge capital toward an item. The Magic Workflow: The app features live, data-driven progress bars. Once merchants collectively fund a pool to 100%, the app automatically locks the deal, flags the wholesaler and instantly generates secure digital fulfillment vouchers with unique QR codes for each participating trader.
How we built it
I utilized the full-stack generative capabilities of MeDo to translate this multi-layered operational logic into a live web application using conversational blueprinting.
State Architecture: I guided MeDo to set up a relational data structure that binds individual merchant pledges to a unified global pool status. The Dynamic Math Engine: I embedded real-time calculation blocks. When a merchant inputs their desired order quantity ($x$), the app instantly calculates the total cost based on wholesale price ($P_w$) and showcases their competitive edge via an automated "Estimated Savings" badge against standard retail market price ($P_m$):
$$\text{Total Cost} = x \cdot P_w$$
$$\text{Estimated Savings} = x \cdot (P_m - P_w)$$
The Live Simulator: To show the app's capability, I built a community pledge simulator button that triggers mock background users to join the pool, demonstrating the real-time state transition from "Pooling" to "Succeeded" without a page refresh.
Challenges we ran into
The primary hurdle was managing the shared database state across different user roles. In early iterations, when a merchant pledged capital, the calculation occurred purely on the frontend as an isolated event. This meant other browsing merchants or the wholesaler couldn't see the progress bar moving in real time.
I overcame this by refining iteration cycles with MeDo. I explicitly instructed the engine to treat the pool volume as a globally updated database state, configuring boundary controls to ensure no user could over-pledge past the maximum units remaining.
Accomplishments that we're proud of
I am incredibly proud to have successfully pushed an AI-native app builder to architect a sophisticated, multi-user system that handles conditional rendering, role-based access and real-time calculation logic flawlessly.
What we learned
This project completely shifted my perspective on product development. I realized that the role of a modern developer is evolving from manually writing boilerplate code to acting as a Prompt Architect. When you feed a generative engine highly specific structural constraints, rigorous edge cases and explicit business rules, you can manifest a fully functional full-stack system in a fraction of the traditional development time.
What's next for MarketPool
I want to transition MarketPool from a high-fidelity hackathon prototype into a live tool for emerging markets. Our next steps include:
- Integrating local mobile payment gateways to handle actual capital collection.
- Implementing a secure on-chain escrow system to hold funds safely until a pool successfully closes or automatically triggers refunds if a pool expires.
- Integrating a lightweight USSD or WhatsApp notification loop to alert merchants on basic mobile devices the exact moment their pool hits 100% and is ready for pickup.
Built With
- medo
- typescript
Log in or sign up for Devpost to join the conversation.