From e087fbb217135eb41bade8515f627a7c9a90e109 Mon Sep 17 00:00:00 2001 From: Victor Date: Tue, 23 Jun 2026 21:56:44 -0400 Subject: [PATCH] docs: document local environment variables --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index fa5f159b59..71cef73712 100644 --- a/README.md +++ b/README.md @@ -83,3 +83,16 @@ with models for: Each app/package expects its own .env values for DB, auth, and integrations. + +### Local Environment + +The web app should define any public client-side values with the +`NEXT_PUBLIC_` prefix in `apps/web/.env.local`. + +The API app reads server-only configuration from `apps/api/.env`, +including values such as `PORT`, `DATABASE_URL`, auth secrets, and +integration credentials. + +Packages that connect to shared infrastructure, such as +`packages/db`, should use `DATABASE_URL` from the calling app or local +development shell.