WeeklyMandi is a hyperlocal B2B grocery wholesale marketplace built with Flutter and Supabase.
WeeklyMandi/
├── SPEC.md # Technical specification
├── supabase_schema/
│ └── schema.sql # Database schema (run in Supabase)
├── weekly_mandi_buyer/ # Buyer App (Flutter)
├── weekly_mandi_distributor/ # Distributor App (Flutter)
└── weekly_mandi_admin/ # Admin Dashboard (Flutter Web)
- Go to supabase.com and create a free account
- Create a new project
- Copy the project URL and anon key
- Run the SQL from
supabase_schema/schema.sqlin the Supabase SQL Editor
- Install Flutter SDK (version 3.x)
- Open each app directory and update
lib/core/constants/supabase_config.dartwith your Supabase credentials:
class SupabaseConfig {
static const String url = 'YOUR_SUPABASE_URL';
static const String anonKey = 'YOUR_SUPABASE_ANON_KEY';
}# Buyer App
cd weekly_mandi_buyer
flutter pub get
flutter run
# Distributor App
cd weekly_mandi_distributor
flutter pub get
flutter run
# Admin Dashboard (Web)
cd weekly_mandi_admin
flutter pub get
flutter run -d chrome- Phone OTP Authentication
- Pincode-based discovery
- Product catalog with categories
- Search functionality
- Shopping cart
- Checkout with COD/UPI/Bank Transfer
- Order tracking
- Order history
- Phone OTP Authentication
- Dashboard with earnings overview
- Order management (status updates)
- Product management (add/edit/inventory)
- Earnings tracking
- Dashboard with GMV overview
- Distributor verification
- Order management
- User management
The project is configured for Hyderabad pilot with pincodes:
- 500016 (Balanagar)
- 500072 (KPHB Phase 6)
- 500018 (Kukatpally)
- 500085 (Moosapet)
Default delivery day: Saturday
Key tables:
users- Buyer profilesdistributors- Seller profiles with verificationproducts- Product catalogorders- Order recordsorder_items- Individual order itemspincodes- Serviceable pincodescategories- Product categories
- Add test data (sample products, distributors)
- Set up Firebase for push notifications
- Add multi-language support (Telugu, Hindi)
- Build and test on real devices
- Launch in pilot pincodes
- Frontend: Flutter 3.x
- Backend: Supabase (PostgreSQL + Auth + Storage)
- State Management: Riverpod
- Architecture: Clean Architecture
Internal Use Only - Confidential