GreenCart | Multi-Vendor Organic Grocery Marketplace Flutter App + Next.js
GreenCart Market — a complete multi-vendor organic grocery marketplace GreenCart Market is a 6-surface bundle: three Flutter apps (customer + rider + vendor) plus one Next.js 16 project that is the public storefront, the /vendor portal, the /admin panel, and the only backend. It is a vertical marketplace for organic / local / farm-to-table grocers, built on a modern TypeScript stack (Next.js + PostgreSQL + Drizzle) — not the PHP/Laravel platforms that dominate this category.…
All source code listed on this site is collected from the internet. If any listing infringes your rights, please contact us and we will remove it immediately.
Description
GreenCart Market — a complete multi-vendor organic grocery marketplace
GreenCart Market is a 6-surface bundle: three Flutter apps (customer + rider + vendor) plus one Next.js 16 project that is the public storefront, the /vendor portal, the /admin panel, and the only backend. It is a vertical marketplace for organic / local / farm-to-table grocers, built on a modern TypeScript stack (Next.js + PostgreSQL + Drizzle) — not the PHP/Laravel platforms that dominate this category. Two differentiators the incumbents lack: subscription produce boxes and product provenance / sourcing.
Live preview
https://greencart.devsnack.dev
Demo access
Try the live demo with the accounts below. (The downloadable package itself ships with an empty database by design — no bundled credentials — so you create your own data and promote your first account to admin.)
- Admin — Web /admin — admin@greencart.test / password123
- Vendor — Web /vendor + vendor app — sunny@greencart.test / password123
- Customer — Web storefront + customer app — customer@greencart.test / password123
- Rider — Rider app — rider1@greencart.test / password123
Demo APKs
- Customer app (Android APK): https://drive.google.com/file/d/1xRznhg34VOUoiMeA8mvYnSmRLpVUJxZ9/view?usp=sharing
- Rider app (Android APK): https://drive.google.com/file/d/1S19BW_lQk42b_fCyBM9Q0llA37zFLFxB/view?usp=sharing
- Vendor app (Android APK): https://drive.google.com/file/d/13q-Mx07739PuRGmOH6cPqBANhuB6xI51/view?usp=sharing
All three APKs are pre-pointed at the live demo backend (https://greencart.devsnack.dev), so they work out of the box with the demo credentials above.
✨ Highlights
- Multi-vendor cart → per-vendor order split — one cart spanning many stores becomes one order + N sub-orders, each fulfilled, tracked, and settled independently.
- Product provenance / sourcing — every product carries a farm/origin “provenance card.”
- Subscription produce boxes — recurring weekly/biweekly boxes with skip / pause / resume.
- Live delivery tracking + a full rider app — turn-by-turn Google Maps navigation, proof-of-delivery photo, COD cash collection.
- Stripe + PayPal + COD — platform-collected, with real refunds.
- Commission ledger + vendor payouts — every sub-order records commission; balances accrue and settle per period.
- Vendor portal + super-admin panel — onboarding, products, payouts, coupons, KPIs, reports, CSV export, churn.
- Vendor Flutter app — vendors run the store from a phone: dashboard with a sales sparkline, incoming orders with status transitions, products with inline stock and publish toggles, image upload, earnings + payout ledger, reviews. Backed by a dedicated tenant-isolated /api/vendor/* REST surface.
- AI recipe & seasonal picks — OpenAI or Gemini, server-side, rate-limited, with a mock fallback.
- “Modern Agrarian” design system — one Tailwind v4 theme + matching Flutter ThemeData, white-labelable at runtime.
Tech stack
- Web + Backend: Next.js 16 · React 19 · TypeScript · Drizzle ORM · PostgreSQL (Neon) · JWT (jose) + argon2 · Stripe · PayPal · COD · commission ledger · Cloudflare R2 · Vercel Cron · Tailwind v4 · shadcn/ui · recharts · OpenAI / Gemini (optional)
- Mobile: Flutter 3.x · Dart 3 · Riverpod 3.x · GoRouter · freezed · Dio (typed API client) · flutter_stripe · webview_flutter (PayPal) · google_maps_flutter · firebase_messaging (push) · cached_network_image · google_mobile_ads (optional) · flutter_secure_storage (JWT)
What’s included
- Full source for all four apps (3 Flutter + 1 Next.js project/backend).
- Complete Drizzle schema + SQL migrations.
- “Modern Agrarian” design system (Tailwind theme + Flutter ThemeData).
- Branding pipeline — one SVG mark regenerates every web icon + both launcher icons.
- Buyer documentation, 20-minute quick-start, and the Vercel + Neon deploy guide.
- Vitest backend suites + Flutter unit/widget tests.
- 6 months Item Support + free future updates.
- (No demo seed — the database ships empty.)
⚡ Quick setup
- Provision Postgres (Neon free tier) and set the 5 required env vars.
- cd web && npm install && npm run db:migrate.
- npm run dev → register a user → promote it to admin in db:studio.
- Deploy web/ to Vercel (Root Directory = web); the 2 cron jobs run automatically.
- Wire Stripe / PayPal / R2 / Firebase / Maps env as needed (all optional; COD works alone).
- flutter pub get + set API_BASE_URL in each dart_defines.json.
- flutter build appbundle/ipa --release --dart-define-from-file=dart_defines.json.
✅ Requirements
Node 20+, Flutter 3.x, a Postgres URL (Neon free tier), a Vercel account (free tier), plus an Apple Developer + Google Play Console account for store distribution. Optional integrations all have free tiers: Stripe (test), PayPal (sandbox), Firebase (Spark), Cloudflare R2 (free class , OpenAI or Gemini.
⚠️ Third-party service costs — please read: This item is sold as source code only. It integrates optional third-party services that you connect using your own accounts, and the buyer is solely responsible for any and all costs, fees, or charges incurred by these third-party services — including OpenAI, Gemini (Google AI), Stripe, PayPal, Google Maps, and Firebase (as well as Cloudflare R2 and your Postgres/hosting provider). These may include API, usage, transaction, subscription, and hosting fees, and are not included in and are entirely separate from the one-time purchase price of this item. This item does not provide, cover, or reimburse any third-party subscription, API credits, or processing fees.
️ On the roadmap (env-wired / stubbed — not yet shipped)
Server-side FCM push send (token storage is shipped), phone OTP and Google sign-in (email/password is the shipped auth), multi-language / RTL, and Stripe Connect auto-payouts (manual payout settlement ships). These are called out so there are no surprises.
Support
6 months of Item Support is bundled per the CodeCanyon standard — reach us through the Support tab on this item page. You supply your own hosting / database / payment / Firebase accounts.
Changelog
1.1.0 — 2026-08-12 — New: vendor Flutter app. A third mobile app (vendor_app/) so vendors can run their store from a phone — dashboard with a 14-day sales sparkline, orders with server-driven status transitions, products with inline stock/publish toggles and image upload, earnings + payout ledger, reviews, notifications, store settings, and an “application pending” state for unapproved vendors. Backed by a new /api/vendor/* REST surface (15 endpoints) so the vendor data layer is reachable over HTTP, not just from the web portal. Also hardened the vendor tenant-isolation and error contract: scoped writes now refuse rather than silently no-op, and validation, ownership and server faults map to distinct status codes. Backend suite 157 → 202 tests.
1.0.0 — 2026-06-16 — Initial release.
Related products
More digital goods in the same category or with similar tags.
Mobile / Flutter
Club 92- Flutter Modern1 Clubhouse Audio UI Kit | Audio Room App | Clubhouse App
Mobile / Flutter
Bounty - Dating app UI Template | Flutter Dating app
Mobile / Flutter
Flutter Food Delivery Boy App UI Template
Mobile / Flutter
Home Workout Fitness Android App Template + iOS App Template | Flutter | FitnessFirst
Mobile / Flutter
Flutter Dating app ui kit 3.13.5 supported
Mobile / Flutter
Vavachat - Social Media Flutter UI Template
Mobile / Flutter
YGChat - Chat & Call App | Android & iOS Flutter app
Mobile / Flutter
Real Estate - Fresh Flutter App Ui Template
GreenCart | Multi-Vendor Organic Grocery Marketplace Flutter App + Next.js
After successful payment, you will receive a download link for the source code