Built to order

Smart Canteen Pre-Order with UPI Payments using Next.js 16

This project builds a Smart Canteen Pre-Order web app using Next.js 16 that lets students browse a live canteen menu, book a 15-minute pickup slot and pay through a UPI QR link, while canteen staff track verified orders in a kitchen queue. It covers the full flow — menu, cart, slot booking, UPI payment verification and live order-status tracking — across three roles: student, canteen staff and admin. Suitable for B.E./B.Tech final-year projects in Computer Science, IT and Web Development.

Chat on WhatsApp — get a quotation

Web Development Tailwind CSSReact 19.2TypeScriptNext.js 16 App RouterNode.js 20.9PostgreSQL PrismaUPI QR payment linksVercel hostingSoftware
Smart Canteen Pre-Order with UPI Payments using Next.js 16 — project thumbnail preview
More project photos (2)

The problem

Smart Canteen Pre-Order with UPI Payments using Next.js 16 is a web app that removes the lunch-break queue from a college canteen. Students open the menu, add dishes to a cart, choose a 15-minute pickup slot and pay through a UPI QR link. The kitchen cooks only after staff verify the UPI reference, and the student tracks the order from payment verified to ready for pickup. The problem is concrete: the whole lunch crowd arrives in the same 30 minutes, so students queue to order, pay in cash and wait again for food, while the kitchen cannot see what is coming. Fixed slots spread that demand across the break, give the kitchen a visible queue, and replace cash handling with a UPI payment verified before cooking begins. Builder note: the demo seeds 20 dishes across 5 categories, and fixed 15-minute slots replaced a free text field that let two students claim the same kitchen window.

SYSTEM FLOW

6 components 5 connections

Live flow
Drag to explore
100%
userStudent

Opens the canteen menu from the classroom and orders ahead instead of queueing.

How it works

Ordering takes about a minute, and the kitchen starts cooking only after payment is confirmed. The student browses the live menu, adds dishes to a cart and picks a 15-minute pickup slot with a counter. The app then shows a UPI QR code with the exact order amount locked in, and the student pays with any UPI app and submits the 12-digit transaction reference. Canteen staff check that reference against the order, and once it matches, the verified order enters the kitchen queue in slot order. Staff update the status as they cook, the student watches it move from payment verified to preparing to ready for pickup, and at the slot the student shows the order number at the counter and collects food that was cooked to land hot at that exact minute.

  1. The student opens the live menu, filters by category and adds dishes; the cart totals the bill live.
  2. The student picks a fixed 15-minute pickup slot and a counter, then confirms the order.
  3. The app generates a UPI QR link with the exact order amount locked in, and the student pays with any UPI app.
  4. The student submits the 12-digit UPI transaction reference from the payment app.
  5. Canteen staff verify the reference against the order; a verified order enters the kitchen queue in slot order.
  6. Staff update the order status as they cook — preparing, then ready for pickup — and the student tracks it live.
  7. At the slot, the student shows the order number at the counter and collects the food.

Tech stack:

  • Next.js 16 (App Router, Turbopack)
  • React 19.2
  • TypeScript
  • Node.js 20.9+
  • PostgreSQL · Prisma
  • Tailwind CSS
  • UPI QR payment links
  • Vercel hosting
Parameter Value
Framework Next.js 16 (released 21 October 2025, verified against the official release notes)
Frontend React 19.2 with TypeScript
Runtime Node.js 20.9 or higher (minimum version, per Next.js 16 requirements)
Menu seeded in demo 20 dishes across 5 categories (measured from the demo build)
Pickup slots 6 slots of 15 minutes each (design target)
Roles 3 — student, canteen staff, admin
Payment UPI QR link with the amount locked to the order total; verification by 12-digit transaction reference (design)
Order statuses 5 — placed, payment verified, preparing, ready for pickup, picked up
Demo sample order ₹150 total for 1 masala dosa, 1 veg biryani and 2 masala chai (measured from the demo build)
Deployment Design target: any Node.js host or Vercel deployment

Project features

The strongest parts of this build are the ones a canteen actually runs on: a live menu students can trust, a slot system that spreads the lunch crowd, a UPI payment verified before any cooking starts, and a kitchen queue showing staff exactly what to cook next. The menu carries 20 real dishes across 5 categories with prices and veg marking, so a student orders in under a minute instead of reading a notice-board list at a crowded counter. Pickup slots are fixed 15-minute windows, which stops forty students arriving for the same dish at the same minute. Payment is a UPI QR link with the amount locked to the order total, and the order reaches the kitchen only after staff match the 12-digit UPI transaction reference. From there the student tracks the order live, and staff work down a queue ordered by slot rather than by who shouts loudest.

  • [Live canteen menu] 20 dishes across 5 categories — Breakfast, South Indian, North Indian, Snacks and Beverages — with real prices, veg marking and category filters, so students find food fast.
  • [Cart with pickup slots] The cart totals the bill live as dishes are added, and the student books a fixed 15-minute pickup slot with a counter instead of joining a physical queue.
  • [UPI QR payment] Each order generates a UPI QR link with the exact amount locked to the order total, payable from any UPI app such as Google Pay, PhonePe or Paytm.
  • [Payment verification workflow] Staff match the 12-digit UPI transaction reference against the order before it enters the kitchen queue, so unpaid orders never block cooking.
  • [Live order-status tracking] The student watches the order move through placed, payment verified, preparing, ready for pickup and picked up, with the expected ready time shown.
  • [Staff kitchen queue] Orders are listed by pickup slot with status actions — start preparing, mark ready, mark picked up — plus payment reminders for unpaid orders.
  • [Admin menu and slot control] The admin adds or disables dishes, edits prices, sets slot capacity and manages counters, so the canteen's menu and timings stay current.

Optional customization: SMS or WhatsApp order-ready alerts, a second canteen counter, and online menu photos. Future scope: automatic payment reconciliation with a registered UPI merchant account, and a prepaid wallet for regular students.

What is included

  • Complete Next.js 16 source code with menu, cart, slot booking, UPI payment flow and staff queue
  • Seeded menu data with 20 dishes across 5 categories and realistic prices
  • Working single-file demo of the student, checkout and staff views
  • Project report PDF (background, methodology, architecture, results)
  • PPT presentation for final review
  • Viva Q&A preparation document (Next.js 16, App Router, caching, UPI flow, slot design)
  • Setup and deployment guide

Limitations & prerequisites

  • UPI payment uses a QR link with manual verification of the transaction reference; there is no live payment-gateway settlement or automatic reconciliation in the base build.
  • A production canteen needs its own registered UPI merchant ID (VPA); the demo uses a placeholder VPA.
  • There are no real-time push notifications — the student checks the order page for status updates, unless WebSocket updates are added as an optional customization.
  • Slot capacity is a fixed design target; the base build does not auto-balance load across counters.
  • Menu prices and availability are managed by the admin; there is no automatic stock deduction from a live inventory system.
  • The build is a campus-scale prototype for one canteen, not a certified multi-outlet food-ordering platform.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes — for Computer Science, IT and Web Development programs, because it demonstrates a complete full-stack web application: Next.js 16 with the App Router, role-based workflows for student, staff and admin, a real payment flow with UPI, and a live order-tracking system. The viva discussion can cover framework choices, slot design, payment verification and queue management, all of which are genuinely built rather than described.

How does the UPI payment actually work — is there a payment gateway?

There is no payment-gateway settlement in the base build, and none is claimed. The app generates a UPI QR link with the exact order amount locked in, the student pays from any UPI app, and canteen staff verify the 12-digit transaction reference before the order enters the kitchen queue. A registered UPI merchant account with automatic reconciliation is listed as future scope.

What does Next.js 16 add over an older Next.js version?

Next.js 16, released 21 October 2025, makes Turbopack the default bundler, introduces Cache Components with explicit caching through the "use cache" directive, replaces middleware.ts with proxy.ts, and ships with React 19.2 and stable React Compiler support. The project uses the App Router and Turbopack builds, so the viva can discuss exactly which of these the app relies on.

Can canteen staff use it without technical knowledge?

Yes — the staff queue is a simple list of orders sorted by pickup slot, with one-tap buttons for start preparing, mark ready and mark picked up, plus a payment-reminder button for unpaid orders. No code or dashboard configuration is needed during service; the admin sets the menu and slots before the day starts.

Can it be customized for our canteen's menu and timings?

Yes — the admin panel controls dishes, prices, categories, slot length, slot capacity and counters, so the same build fits a canteen with different food, prices or break timings. Optional additions include SMS or WhatsApp order-ready alerts, a second counter view and online menu photos.

Does it work without internet?

No — ordering, UPI payment and the staff queue all need internet, because the menu, slots and order statuses live on the server. The demo runs offline in a browser only as a static preview; the built-to-order app is deployed on a Node.js host or Vercel with a PostgreSQL database.

Components & software requirements
  • Next.js 16 (App Router, Turbopack)
  • React 19.2
  • TypeScript
  • Node.js 20.9+
  • PostgreSQL · Prisma
  • Tailwind CSS
  • UPI QR payment links
  • Vercel hosting
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation