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

Bluehost Shared Hosting

GreenCart Market — a complete multi-vendor organic grocery marketplace

GreenCart Market is a 5-surface bundle: two Flutter apps (customer + rider) 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 /adminadmin@greencart.test / password123
  • Vendor — Web /vendorsunny@greencart.test / password123
  • Customer — Web storefront + customer app — customer@greencart.test / password123
  • Rider — Rider app — rider1@greencart.test / password123

Demo APKs

Both 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.
  • 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 three apps (2 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

  1. Provision Postgres (Neon free tier) and set the 5 required env vars.
  2. cd web && npm install && npm run db:migrate.
  3. npm run dev → register a user → promote it to admin in db:studio.
  4. Deploy web/ to Vercel (Root Directory = web); the 2 cron jobs run automatically.
  5. Wire Stripe / PayPal / R2 / Firebase / Maps env as needed (all optional; COD works alone).
  6. flutter pub get + set API_BASE_URL in each dart_defines.json.
  7. 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 GreenCart | Multi-Vendor Organic Grocery Marketplace Flutter App + Next.js, 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.0.0 — 2026-06-16 — Initial release.

0 average based on 0 ratings.

DevSnack

DevSnack

Visit Author's Portfolio

View Portfolio
Last Update 2026-07-04
Created 2026-07-04
Sales 0
Discussion Comments
Software Version Flutter 3.x Flutter 2.x Flutter 1.x Other
Files Included Dart YAML JavaScript JSON .java .kotlin .h .storyboard .plist .swift CSS HTML
Video Preview Resolution