A fast-food ordering and restaurant management platform for Bangladesh: English/বাংলা, prices in ৳, cash on delivery plus bKash, Nagad and cards.
Stack: Next.js 15 (App Router) · TypeScript · Tailwind CSS 4 · Framer Motion · PostgreSQL + Prisma · Auth.js · Vitest.
Status: all 10 build phases are complete. The site is ready for deployment. The external services work once their credentials are added:
| Service | What happens without credentials |
|---|---|
| Payment gateways | Sandbox demo gateway |
| Email/SMS | Messages wait in the outbox |
| AI assistant | Quick-answers mode |
| Photo uploads | Paste a Cloudinary URL instead |
Nothing pretends to work when it doesn't. → Start with documentation/HANDOVER.md.
| For customers | For the restaurant |
|---|---|
| Animated menu, product pages with sizes & extras, cart | Dashboard with sales charts, CSV reports |
| Checkout: delivery zones, coupons, VAT, server-side prices | Orders, kitchen board, rider dispatch, riders' mobile view |
| Pay by cash, bKash, Nagad or card (SSLCommerz) | Menu, categories, photos, inventory, coupons, reviews |
| Live order tracking, order history, wishlist, reviews | Table bookings, tables, delivery zones |
| Table booking with no double-booking | Customers, staff & roles (RBAC), website settings |
| Chat: AI assistant on live data → hand-off to staff | Live chat inbox, AI chatbot log, email/SMS outbox |
| English / বাংলা everywhere, mobile-first, accessible | Payments & refunds, audit log of every admin action |
npm install
cp .env.example .env # set DATABASE_URL, AUTH_SECRET (+ TEST_DATABASE_URL for tests)
npm run db:deploy # apply migrations
npm run db:seed # demo data — accounts use the password Restaurant@2026
npm run dev # http://localhost:3000 · admin: admin@example.com
npm test # 220 unit + database tests
npm run typecheck && npm run lint && npm run build| File | About |
|---|---|
documentation/HANDOVER.md |
Start here: what's done, what you must configure, go-live order |
documentation/DEPLOYMENT.md |
Hostinger VPS: Nginx, HTTPS, systemd, cron, backups, go-live checklist |
documentation/ARCHITECTURE.md |
Structure, decisions, phase roadmap |
documentation/DATABASE.md |
Schema, constraints, money handling |
documentation/AUTH-SECURITY.md |
Sign-in, sessions, RBAC, rate limits, security headers |
documentation/CUSTOMER-SITE.md |
Storefront, animation system, SEO |
documentation/ORDERING-RESERVATIONS.md |
Cart → checkout → tracking, bookings |
documentation/ADMIN.md |
Dashboard modules and who can use them |
documentation/PAYMENTS.md |
bKash / Nagad / SSLCommerz, verification, refunds |
documentation/MESSAGING.md |
Email/SMS outbox, live chat, AI assistant |
Never commit .env* files; they are git-ignored. CI (.github/workflows/ci.yml) runs typecheck, lint, tests against PostgreSQL, and a production build on every push.