Queue-North-Website/SCRIPTS.md

645 B

Queue North Website — Script Reference

Run these from the project root.

Install

npm install

Development

Start frontend and backend together:

npm run dev

Frontend runs through Vite. Backend runs through Express.

Build

npm run build

Creates the production frontend build in dist/.

Preview Frontend Build

npm run preview

Start Backend Only

npm start

Equivalent compatibility script:

npm run server

Health Check

curl http://localhost:3001/api/health

Expected response shape:

{"status":"ok","timestamp":"..."}