Local Setup (Frontend Standard)
This page stays generic. Project-specific setup (exact versions, ports, env vars, commands) must live in the project repo.
Prerequisites (required)
- Node (pinned in the repo)
- npm (required)
Environment variables
- Each repo must provide
.env.example(placeholders only). - Copy
.env.example→.envfor local development.
Server-only vs client-exposed
- Server-only variables: backend internal URLs, secrets.
- Client variables must be prefixed with
NEXT_PUBLIC_.
Rule: do not put secrets or internal/private backend URLs in NEXT_PUBLIC_*.
Install / Run
Projects must document a single “happy path” flow in their README, typically:
npm cinpm run dev