Client · Sep 2026 – now
Peace Nursery
Plant commerce for a real nursery in Jharkhand.
- Role
- Sole engineer
- Status
- Ready to launch at peacenursery.in
- Admin areas
- 30+
- Delivery
- nationwide, multi-day
Overview
A full storefront and back office for a nursery in Hazaribagh: catalogue, plant match quiz, Dr. Green diagnosis, cart and Cashfree checkout, loyalty points, returns, and an admin with orders, deliveries, riders, outlets, pricing rules and analytics.
Why it exists
The nursery sold over WhatsApp and phone calls. Now customers can buy online, and the business is growing into a network of partner outlets with their own dashboards and payouts.
Product film
How it works
- 1
Next.js App Router with server actions; sessions are random tokens with only their SHA-256 stored in Postgres.
- 2
Orders route to the nearest outlet using H3 cells; riders and outlets get their own views.
- 3
Sign-in codes go by email or WhatsApp; order updates by WhatsApp, email and web push.
- 4
A pricing-rules engine with a simulator lets the owner test a rule before it goes live.
Architecture
Hard parts
Routing orders to the right outlet
With several nurseries, each order must go to an outlet that has stock and delivers there. H3 cells make 'who serves this pincode' a lookup instead of a geo query.
Pricing rules without surprises
Discounts, city pricing and coupons stack in non-obvious ways. A rule simulator shows the final price for a sample cart before a rule is saved.
Screens · 14
Stack
- Next.js 16
- React 19
- Tailwind v4
- Prisma 7
- Postgres 17
- Cloudflare R2
- Cashfree
- Resend
- WhatsApp Cloud API
- Web Push
- H3
- Bun