Web · Full-stack·2026Live

GoFoode: multi-restaurant food ordering and delivery with four role-based portals

A MERN-stack food ordering and delivery platform: customers browse local kitchens, order and follow their rider live, while restaurant owners, delivery partners and a super admin each get their own portal.

ReactViteNode.jsExpressMongoDBSocket.IOJWT

My role. Full-stack developer, 2026. The project is complete and documented below.

GoFoode screenshot
The problem

Small local restaurants often take orders over phone calls and messages, which leads to missed orders, no clear status for customers and no easy way to keep menus up to date.

Outcome

An end-to-end ordering platform — menus, cart, checkout and live order tracking — with dedicated portals for restaurant owners, delivery partners and administrators.

Key features

  • 01Four portals: customer, restaurant owner, delivery partner and super admin
  • 02Restaurant pages with menus, offers, veg-only filter and cart
  • 03Food delivery, Instamart groceries, Dineout and pickup & drop
  • 04Live order and rider tracking with Socket.IO
  • 05Offers, coupon codes and rewards
  • 06Analytics dashboards with Recharts

The constraint#

For a small restaurant, an order that arrives as a phone call or a message is easy to lose and impossible to track. A delivery platform has to serve several very different people at once: hungry customers, busy kitchen staff, riders on the road and the team running the platform.

What I built#

A MERN-stack platform with four role-based portals sharing one API.

  • Customer app. Browse local kitchens and dishes, filter menus, apply offers, check out and follow the rider live on the map.
  • Restaurant owner portal. Manage menus, availability and incoming orders.
  • Delivery partner portal. Accept deliveries and update their status on the way.
  • Super admin. Oversee restaurants, users, offers and platform analytics.
  • Real time. Socket.IO pushes order and rider updates instantly instead of polling.
01 / Customer02 / React app03 / Express API04 / MongoDB05 / PartnersCustomerbrowse & orderMenu & cartReact + ViteLive trackerrider on the mapOrders APIJWT, validationSocket.IOlive updatesOrdersMongoose modelsRestaurant & riderportalsadd itemsplace ordersavenew orderstatus updatenotifyLegendprimary flowasync / writedata flowdata store
High-level flow — from menu to doorstep.

What was hard#

  • Trusting the server, not the client. Prices and totals are recalculated on the API, so a modified request can’t change what an order costs.
  • Four roles, one API. Every route and endpoint is protected by role so each portal only sees what it should.

What I’d do differently#

Integrate a live payment gateway and add automatic rider assignment based on distance.

Screenshots

GoFoode — Vishwanath Thakur