Local commerce and marketplaces
ShineOak: Connecting home chefs with local customers
ShineOak is a local commerce ecosystem that connects home chefs with customers nearby through local shopping. One Android app, built with Flutter on a Strapi backend, brings together chef booking (ChefHouz) and chefs’ food menus, local shops and their deals, AI recipes and a community, with payments, wallets, subscriptions and referrals.
IllustrationThe problem
Why it exists.
Several local-commerce models, each with its own user roles (customers, shop owners, chefs, delivery agents, partners), had to live in one app and one backend without becoming several separate products to maintain.
The product
What it does.
Local shops and deals
Browse local stores, their inventory and deals, and order from them.
Chef booking
Book home and professional chefs through ChefHouz, with chef profiles and food menus.
AI recipes and images
Generate recipes and recipe images, paid for from a token wallet tied to the user’s subscription plan.
Smart lens
Point the camera at a product and the app identifies it and finds it in the shop.
Community
Posts, comments, hashtags, profiles and messages, with reporting.
Payments, wallet and referrals
Razorpay checkout, wallet, subscriptions, partner earnings and refer-and-earn.
Partner tools
Incoming orders, inventory, delivery agents, business hours and bank details for shop owners and chefs.
Engineering
The hard parts, and how we solved them.
- 01
One codebase, many models
The Flutter app is split into 97 feature modules with Riverpod for state and auto_route for navigation, so each commerce model and role is its own module.
- 02
Three flavours from one source
Development, staging and production builds each have their own entry point, so testing never touches live data.
- 03
A headless CMS as the whole backend
Strapi v4 models every commerce type and role in 149 content types and 102 components, with lifecycle hooks for notifications, emails and order events.
- 04
AI that cannot overspend
Every AI recipe or image request passes two server policies first: one checks the user’s token balance, the other their image balance. Generated images are stored, and token use is recorded.
- 05
Shared services, built once
Payments, wallet, phone verification, push notifications and email are built once in the backend and used by every commerce model.
Architecture
How it fits together.
Client
- Android app: Flutter, 97 modules
Backend
- Strapi v4: 149 content types
- Group chat: Socket.io server
Services
- Razorpay: Payments
- Twilio Verify: Phone OTP
- Firebase: Push notifications
- OpenAI: Recipes, images
- SendGrid: Email
Data
- PostgreSQL: All content
- Redis: REST cache
- Cloudinary: Images
Connections
- Android app → Strapi v4: REST API
- Android app → Razorpay: Checkout
- Strapi v4 → Group chat: Starts the chat server
- Strapi v4 → Razorpay: Payment verification
- Strapi v4 → Twilio Verify: Checks the phone is verified
- Strapi v4 → Firebase: Sends notifications
- Strapi v4 → OpenAI: Only with token balance
- Strapi v4 → SendGrid: Report and support emails
- Strapi v4 → PostgreSQL: Every content type
- Strapi v4 → Redis: Cached responses
- OpenAI → Cloudinary: Generated images are stored
Technology
The stack, layer by layer.
Each technology with the job it does in this product.
Mobile
- Flutter
- The Android app, in development, staging and production flavours.
- Dart
- App language.
- Riverpod
- State management across 97 feature modules.
- auto_route
- Typed navigation between screens.
- Dio
- HTTP client with retries.
- Hive
- Fast local storage on the device.
- Google Maps
- Maps and location for stores and addresses.
Backend
- Strapi v4
- Headless CMS and API: 149 content types and 102 components (Strapi 4.25).
- Node.js
- Backend runtime.
- Socket.io
- Group chat server for the ChefHouz community.
Data
- PostgreSQL
- Primary database.
- Redis
- Caches REST responses.
- Cloudinary
- Image uploads, including generated images.
AI
- OpenAI
- Recipe generation, recipe images and product recognition.
Integrations
- Razorpay
- Checkout, payments and payment verification.
- Twilio Verify
- Phone number verification with one-time passwords.
- Firebase Cloud Messaging
- Push notifications, sent by the backend.
- SendGrid
- Emails for reports, store requests and support.
Infrastructure
- Render
- Hosts the backend and its PostgreSQL database.
In numbers
Facts about the build.
- Flutter feature modules
- 97
- CMS content types
- 149
- build flavours
- 3
- languages: English and Spanish
- 2
Building something like ShineOak?
Tell us what you are working on. A person from Dessot will reply.


