Refactor: Improve JWT secret generation instructions

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-21 19:31:54 +00:00
co-authored by mathieumoran1
parent 1f98a1a24a
commit 4fe8ad84ab
+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`.