chore: add .env.example template

Lists only the variables the app actually reads, with placeholder values, so a
fresh clone does not have to grep for them. .gitignore keeps .env* ignored and
whitelists this one file.
This commit is contained in:
tiennm99 committed 2026-09-03 15:17:42 +07:00
1 parent eb4f272817
commit 86eff7364d
3 files changed
+45

No files matched your search

+3
View File
@@ -40,6 +40,9 @@
### Environment Variables
Copy `.env.example` to `.env` and fill it in; it lists every variable the app
reads, with placeholders only. The sections below explain each one.
**Redis (required)**:
- Either `UPSTASH_REDIS_REST_URL` + `UPSTASH_REDIS_REST_TOKEN` (vanilla Upstash)
- Or `KV_REST_API_URL` + `KV_REST_API_TOKEN` (Vercel Marketplace)