Skip to content

HuyPham55/Vitex-Cafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

114 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GHBanner

Vitex Cafe

Next.js storefront and admin for a cafe, backed by the Express API in api-server/ (git submodule).

Run locally

Prerequisites: Node.js, MongoDB (for the API)

Frontend (this folder):

  1. npm install
  2. Copy .env.example to .env.local and set NEXT_PUBLIC_API_URL (e.g. http://localhost:5000/api)
  3. npm run devhttp://localhost:3000

API (api-server/):

  1. cd api-server && npm install
  2. Copy api-server/.env.example to api-server/.env and configure MONGODB_URI, JWT_SECRET, ALLOWED_ORIGINS
  3. npm run devhttp://localhost:5000

Optional: npm run seed in api-server/ for sample data.

Developing with Cursor

  • 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.md apply automatically

For more detail than this README, see AGENTS.md.

About

A website for managing coffee order within the office

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages