Skip to content

Environment Variables

List every environment variable the project needs, what it's for, and where to get a value. Never commit real secrets to this file or the repo — use a .env.example file in each app and keep real .env files git-ignored.

Server

Variable Description Example
DATABASE_URL Connection string for the database postgres://user:pass@localhost:5432/tutordb
AUTH_PROVIDER_* Credentials for the chosen auth library/service fill in
PORT Port the API listens on 4000

Client

Variable Description Example
VITE_API_URL / NEXT_PUBLIC_API_URL Base URL of the API http://localhost:4000

External integrations

Document the external API you integrate with here (per the brief's "Integration" requirement), including which env vars it needs.

Variable Description
e.g. TIMETABLE_API_KEY Key for the external timetable/calendar integration