
GreenCart | Multi-Vendor Organic Grocery Marketplace Flutter App + Next.js

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 indb: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+ setAPI_BASE_URLin eachdart_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 
⚠️ 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.
| Type | Flutter App |
|---|---|
| Author | DevSnack |
| Price | $19 |
| Sales | 0 |
| Rating | 0 (0) |
| Published | Jul 3, 2026 |
| Last Update | Aug 12, 2026 |
| Compatible Software | Flutter 3.x, Flutter 2.x, Flutter 1.x, Other |
| Mobile Files Included | Dart, YAML, JavaScript JSON, .java, .kotlin, .h, .storyboard, .plist, .swift, CSS, HTML |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Perceptle
Perceptle is a daily browser-based game that challenges you to test your sensory intuition through five quick estimation and rhythm-based rounds.
Other · 1 views · 0 clicksOther · Week 47 · 1 views · 0 clicks
🥈
Free LinkedIn Likes From Real
Get free LinkedIn likes on your posts from real members who react by hand. No
SaaS · 124 views · 2 clicksSaaS · Week 47 · 124 views · 2 clicks
🥉
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 7,686 views · 71 clicksSaaS · Week 47 · 7,686 views · 71 clicks
#4
aaas.market
407 reliable micro tools for solo founders, marketers and creators. They work in your browser
SaaS · 122 views · 0 clicksSaaS · Week 47 · 122 views · 0 clicks