PharmaFlow — Pharmacy E-Commerce Flutter App With Subsequent.js Admin Panel
PharmaFlow is a full-stack on-line pharmacy platform: a production-ready
Subsequent.js net storefront and operations suite, plus matching
Flutter apps for patrons and supply riders. Promote medicines and healthcare
classes, run admin & assist workflows, assign deliveries, and take funds — all towards a
unified MongoDB information layer and REST-style APIs.
Good for
- Unbiased pharmacies and chains launching
- Companies delivering a branded medication & OTC ordering expertise with rider logistics
- Groups that need net + cellular apps from one codebase-shaped monorepo
Dwell demo
URL:
pharmaflow-red.vercel.app
Demo accounts (telephone / password)
- Admin — 01700000001 / admin123
- Assist — 01700000002 / support123
- Rider — 01700000003 / rider123
- Buyer — 01700000004 / buyer
Rotate or take away these credentials by yourself deployment earlier than going reside.
What you get
- Buyer net — catalog, classes, search, cart, checkout, prescriptions add, account space
- Admin panel — merchandise, orders, customers, finance/dashboard-style views, rider tooling, notifications
- Assist & rider net surfaces — role-based entry aligned with operations (see included routes)
- Flutter buyer app — buying flows towards the identical APIs as the net retailer
- Flutter rider app — deliveries, COD / cash-in-hand type flows, maps-friendly UX patterns
- Checkout — money on supply for patrons; atmosphere template nonetheless paperwork non-compulsory gateway keys if you happen to lengthen funds
- Maps & location — Google Maps integration the place configured; geocoding helpers for addresses
- Auth — NextAuth-based classes for net; cellular login API for apps
- Seed script — non-compulsory demo information (npm run seed) for native analysis
Characteristic highlights — buyer net
- Browse & merchandising — classes, searchable catalog, hero / promo slides (admin-configurable), product grids and specials (e.g. flash-style presents)
- Ordering — cart, authenticated checkout, COD-only cost path, supply cost logic, saved addresses
- Location-aware checkout — handle seize with map / pin and geocode-style helpers the place API keys are set
- Prescriptions — devoted add journey for Rx-style orders tied into the identical order move
- Omnichannel entry factors — WhatsApp and call-to-order tiles pushed from retailer settings
- Account hub — order historical past, order element, ongoing supply visibility
- In-app assist — floating chat expertise linked to orders, threads for assist vs supply contexts
Characteristic highlights — admin & again workplace
- Operational dashboard — KPI-style snapshots, COD assortment consciousness, workload-oriented views
- Catalog management — medicines/merchandise, imagery, pricing, reductions, categorization
- Orders — pipeline statuses, achievement hooks, rider task, map views the place coordinates exist
- Clients & workers — consumer roster, roles (admin, assist, rider, buyer), entry separation
- Finance & reporting touchpoints — dashboards and aggregates aligned with storefront orders
- Warehouse / stock ideas — settings for inventory conduct, thresholds, and operational flags
- Website configuration — branding-friendly retailer data, supply charges, notification preferences, hero content material
- Assist from the desk — workers can have interaction prospects with the identical order-linked chat mannequin
Characteristic highlights — assist & rider (net)
- Function-scoped panels — assist and rider net areas tailor-made to day-to-day dispatch and buyer assist
- Supply coordination — standing development, handoff between operations and riders
- COD self-discipline — tooling to trace money assortment towards delivered COD orders
- Chat by context — separate assist vs supply chat threads per order the place the product gives each
Characteristic highlights — Flutter buyer app
- Cellphone-first buying that hits the similar APIs as the web site — constant catalogue and cart
- Authentication, profile, and token-based session patterns for cellular purchasers
- Checkout with money on supply, handle seize, and non-compulsory map / location patterns
- Order monitoring and account-level order historical past
- Prescription-friendly flows aligned with the net expertise
- Configurable API base URL for staging, manufacturing, or emulator networking
Characteristic highlights — Flutter rider app
- Project-oriented UI for energetic deliveries and handoffs
- COD / cash-in-hand workflows and deposit-style reporting hooks (the place carried out in API)
- Instructions / maps integration patterns for last-mile navigation
- Supply-side chat with prospects for the handoff expertise
- Theme and branding hooks appropriate for white-label polish
Platform, APIs & extensibility
- Unified backend — Subsequent.js route handlers and shared Mongoose fashions for net + cellular
- Periods & safety — NextAuth on net; structured roles throughout surfaces
- Notifications & comms hooks — plumbing for SMS / WhatsApp-style alerts (supplier keys are yours)
- Demo & staging consolation — seed script, demo mode flag, static documentation handbook within the obtain
- Future-facing toggles — non-compulsory HL7 / ASTM / FHIR-related atmosphere switches for lab or interoperability experiments (see .env.instance)
Tech stack
- Internet: Subsequent.js (App Router), React, Tailwind CSS
- API & server: Subsequent.js API routes, MongoDB + Mongoose
- Cellular: Flutter (separate buyer & rider initiatives within the repo)
- Non-obligatory / dev: HL7, ASTM, FHIR-related env toggles for interoperability experiments (see .env.instance)
Internet hosting & necessities
- Node.js appropriate with the bundled Subsequent.js model — run npm set up & npm run dev
- MongoDB connection string (MONGODB_URI) — Atlas or self-hosted
- Set NEXTAUTH_SECRET, NEXTAUTH_URL, and cost/supplier keys as documented
- Flutter SDK present sufficient for the bundled app initiatives; set API_BASE_URL for gadget / emulator
Documentation & assist
The obtain features a static handbook at public/documentation.html
(floor guides for Internet / Buyer app / Rider app + developer reference).
Use the merchandise feedback or your assist channel after buy for setup questions.
Essential notes
- Evaluate .env.instance earlier than manufacturing; disable demo mode and lock down secrets and techniques.
- Drug / commerce license, compliance, and cost supplier approval are your accountability.
Third-party providers and extra prices
Essential: this buy covers the PharmaFlow supply code solely. Any third-party
providers the script can combine with — together with, however not restricted to,
Google Maps (Maps JavaScript API, Geocoding, Locations),
SMS suppliers, and cost gateways (e.g. SSLCommerz and any
future gateway integrations) — require your individual accounts, API keys, and paid plans.
Their utilization charges, subscription prices, transaction charges, and any compliance / KYC necessities
are not included within the merchandise value and are billed immediately by these suppliers
to you.

