Spice Route
★ 4.3 · 30 min
Pizza Hub
★ 4.4 · 30 min
Green Bowl
★ 4.5 · 30 min
Tandoor Co.
★ 4.6 · 30 min
Deliver to · Vijay Nagar
01Overview
A food-delivery web app built with React 18, Redux Toolkit and Tailwind CSS. Users discover restaurants with search, filters and sorting, browse menus, manage a persistent cart, check out with an interactive delivery-address map and coupon codes, and view their order history — backed by live restaurant data with an offline-friendly sample-data fallback.
02The Challenge
Build a complete, resilient ordering experience on the frontend alone — real third-party data that can fail at any time, a cart and orders that survive reloads, and a checkout that feels real without a backend.
03Key Features
04Technical Implementation
Redux Toolkit slices manage cart, favorites, orders and location; state is persisted to localStorage with every read/write wrapped in try/catch.
Utils/api.js fetches live restaurant data directly, falls back through CORS proxies, and finally to bundled sample data with a visible banner — so the UI never gets stuck.
Menu parsing handles both flat and nested category response shapes.
Card details in the mock payment flow are format-validated (Luhn check, expiry, CVV) and then discarded — never stored or sent anywhere.
Unit tests with Jest + React Testing Library; deployed on Vercel as a static SPA.