From 4fe8ad84abe32b82702213a542f120b43ed192dc Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 21 Dec 2025 19:31:54 +0000 Subject: [PATCH] Refactor: Improve JWT secret generation instructions Co-authored-by: mathieumoran1 --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a95caea..a651c2b 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Add this to your `.env` (**required**: `MONGO_URI`, `JWT_SECRET`): ```bash # required MONGO_URI=mongodb://127.0.0.1:27017/oscars-pool -JWT_SECRET=change-me +JWT_SECRET=replace-with-a-random-string # optional DOG_NAMES=woof,WOOF,Woof @@ -41,6 +41,12 @@ GITHUB_OWNER=quoije GITHUB_REPO=oscars-pool ``` +Generate a good `JWT_SECRET`: + +```bash +openssl rand -hex 32 +``` + ## Database (MongoDB) This app uses **MongoDB** via Mongoose. Provide a connection string in `MONGO_URI`.