Next.js storefront and admin for a cafe, backed by the Express API in api-server/ (git submodule).
Prerequisites: Node.js, MongoDB (for the API)
Frontend (this folder):
npm install- Copy
.env.exampleto.env.localand setNEXT_PUBLIC_API_URL(e.g.http://localhost:5000/api) npm run dev→ http://localhost:3000
API (api-server/):
cd api-server && npm install- Copy
api-server/.env.exampletoapi-server/.envand configureMONGODB_URI,JWT_SECRET,ALLOWED_ORIGINS npm run dev→ http://localhost:5000
Optional: npm run seed in api-server/ for sample data.
- AGENTS.md — architecture, env vars, and commands for AI agents
.cursor/rules/— project rules (overview, frontend, API)- Open the repo root in Cursor so rules and
AGENTS.mdapply automatically
For more detail than this README, see AGENTS.md.
