docs(env): add the .env.example the README already told people to copy

README.md line 72 says `cp .env.example .env`, but no such file existed and
.gitignore's `.env.*` rule would have swallowed it — hence the explicit
negation alongside it.

Documents the two variables the code actually reads, VITE_BASE_API_URL and
VITE_USE_MOCKS, rather than the longer list in the README, none of which is
referenced anywhere in apps/ or libs/. Notes that Vite resolves this from the
workspace root via envDir, and that Fayda needs nothing here beyond the callback
path matching the API's FAYDA_REDIRECT_URI.
This commit is contained in:
mihretue
2026-08-25 18:18:02 +00:00
parent 0582c311c9
commit 16a5dec734
2 changed files with 40 additions and 0 deletions

2
.gitignore vendored
View File

@@ -13,6 +13,8 @@ coverage/
# env
.env
.env.*
# ...but the checked-in template must survive that rule.
!.env.example
# logs
*.log