Full-stack commerce
TOMATO
A food-ordering app with a customer storefront, order management, and Stripe Checkout.
Full-stack storefront, admin interface, and checkout integration
React · Vite · Node.js · Express · MongoDB · Mongoose · Stripe Checkout
Full-stack project with a checkout demo
OVERVIEW
TOMATO brings a React storefront and a separate admin app together through a shared Express API. Customers browse the menu, build a cart, and place an order. Operators can manage the catalog and update order status.
Architecture
- 01BROWSE MENU
The React storefront fetches the catalog from the Express API.
- 02UPDATE CART
The API stores cart quantities on the customer record.
- 03START CHECKOUT
Submitting an order creates a MongoDB record and a Stripe Checkout session.
- 04MANAGE ORDERS
A separate admin interface lists orders and updates their status.
BOUNDARYThe storefront and admin app share a backend. Stripe hosts the checkout page, and MongoDB holds menu, cart, and order records.
Two React/Vite apps use Express routes for catalog, cart, account, and order operations. Mongoose models store food items, customer accounts, and order history.
Key decisions & trade-offs
A separate admin app keeps catalog and order management out of the customer storefront. Stripe Checkout provides the hosted payment step, while the backend creates an order record for the app to track.
Verification / results
The source includes Vite build scripts for both apps and implementation paths for menu listing, cart persistence, order creation, checkout, and order status updates.
Limitations
The checkout is a demo flow. A production rollout would require server-side payment confirmation and environment-specific return URLs.