This project delivers a React + Express e-commerce experience with product browsing, detail pages, and a cart that syncs to a lightweight backend. MongoDB Atlas powers persistent catalogue data; when unavailable, the API gracefully falls back to curated sample inventory so the UI always works in demos.
frontend/– React 19, Vite, Tailwind CSS, React Router, Axiosbackend/– Express 5, Mongoose, cart state API, MongoDB seed scriptdocs/– Architecture overview and prompts used to generate the solution
cd backend && cp env.example .env(setMONGODB_URI) thennpm install && npm run devcd frontend && cp env.example .env.localthennpm install && npm run dev- Browse to
http://localhost:5173
More detail is available in docs/architecture.md.