Completed case study
HennaHub-Full-Stack E-commerce & Booking Platform
- Role
Full Stack Developer
- Stack
- Next.js 16
- Hono
- Cloudflare Workers
- Neon PostgreSQL
- Drizzle ORM
- Gemini AI
- Client
Shahriar Deep
E-Commerce
Mar 2026 – Mar 2026- Team
SOLO

01The challenge
The client — a henna art business in Bangladesh — had no digital presence. They were: Taking orders and bookings manually via phone/WhatsApp Unable to showcase artists, designs, and products professionally online Managing everything (inventory, orders, bookings, customers) manually with no system Missing out on customers who search online Had no way to receive instant order alerts when away from a computer
Key features
- Dynamic Homepage
- Full Product Experience
- Complete Purchase Flow
- 4-Step Appointment Booking
- Henna Design Showcase
- Professional Artist Showcase
- Intelligent Customer Assistant
- Public Notice Board
- Business Owner Showcase
- Admin Dashboard






Overview
HennaHub is a full-stack e-commerce and service booking platform built for Bangladesh's henna art market. It enables a henna business to sell products online, accept service bookings, manage artists, and engage customers through an AI-powered chatbot — all from a single unified platform
02The approach
Replaced a completely manual, phone-based operation with a fully automated, SEO-optimized e-commerce and booking platform manageable from a smartphone.
Built to a standard
- TypeScript
- Secure
- Accessible
- Tested
- Responsive
- CI/CD
- SEO optimised
- High performance
- Docker
03Problems solved
Problem
Traditional PostgreSQL TCP drivers don't work on Cloudflare Workers (V8 isolates, not Node.js).
Solution
Used Neon's serverless HTTP driver with Drizzle ORM, enabling full PostgreSQL queries from the edge without TCP connections.
Problem
Gemini would invent fake prices, fake artist names, and fake packages when the database was empty or sparse.
Solution
Built a regex-based intent detection layer that pre-fetches only relevant DB records and injects them as the AI's sole source of truth, with a system prompt that explicitly forbids fabrication.
Problem
On page load, the cart would flash empty then populate, sometimes wiping saved items due to localStorage write triggering before the read completed.
Solution
Added a useRef flag to gate the localStorage save effect until after the initial hydration read completed.
Problem
Local machine had Telegram API blocked, making bot development and webhook registration impossible from the terminal.
Solution
Exposed a /telegram/setup endpoint on the deployed Cloudflare Worker itself, which registers the webhook from Cloudflare's network (unrestricted) in a single HTTP call.
Problem
Keeping API request/response types in sync between the Hono backend and Next.js frontend without manual duplication.
Solution
Used Hono's RPC client (hc<AppType>) with shared Zod schemas in a packages/shared workspace, giving end-to-end TypeScript inference from database to browser.
Problem
Next.js is designed for Node.js but Cloudflare Workers use V8 isolates with no Node.js runtime
Solution
Used @opennextjs/cloudflare adapter which transforms Next.js build output into a Cloudflare Workers-compatible format, enabling full SSR and API routes on the edge.
Need something like this?
I build products like HennaHub-Full-Stack E-commerce & Booking Platform for clients worldwide
The closest package is AI Agent SaaS Products: fixed price, fixed scope, delivered remotely. Tell me what you are building and I will say which tier fits.
More work
Related projects

- Founder Community / SaaS
- 2026
Founders — Reputation Economy for Founders
Credit-metered peer feedback, AI-scored reviews, and launches with public show-up rates.
- E-Commerce
- 2026
EasySearch — Rajshahi Local Services Marketplace Platform
Unified digital marketplace connecting 500,000+ Rajshahi residents with local services through 89 API endpoints and 95% backend integration