Readme env file setup #23

Merged
quoije merged 5 commits from cursor/readme-env-file-setup-eda9 into 2026 2025-12-21 14:33:37 -05:00
Showing only changes of commit 4fe8ad84ab - Show all commits
+7 -1
View File
@@ -32,7 +32,7 @@ Add this to your `.env` (**required**: `MONGO_URI`, `JWT_SECRET`):
```bash ```bash
# required # required
MONGO_URI=mongodb://127.0.0.1:27017/oscars-pool MONGO_URI=mongodb://127.0.0.1:27017/oscars-pool
JWT_SECRET=change-me JWT_SECRET=replace-with-a-random-string
# optional # optional
DOG_NAMES=woof,WOOF,Woof DOG_NAMES=woof,WOOF,Woof
@@ -41,6 +41,12 @@ GITHUB_OWNER=quoije
GITHUB_REPO=oscars-pool GITHUB_REPO=oscars-pool
``` ```
Generate a good `JWT_SECRET`:
```bash
openssl rand -hex 32
```
## Database (MongoDB) ## Database (MongoDB)
This app uses **MongoDB** via Mongoose. Provide a connection string in `MONGO_URI`. This app uses **MongoDB** via Mongoose. Provide a connection string in `MONGO_URI`.