Readme env file setup #23
@@ -31,14 +31,14 @@ 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 # MongoDB connection string
|
||||||
JWT_SECRET=replace-with-a-random-string
|
JWT_SECRET=replace-with-a-random-string # JWT signing secret (auth)
|
||||||
|
|
||||||
# optional
|
# optional
|
||||||
DOG_NAMES=woof,WOOF,Woof
|
DOG_NAMES=woof,WOOF,Woof # simple registration "verification"
|
||||||
OMDB_API=your_omdb_key
|
OMDB_API=your_omdb_key # OMDb API key (movie info)
|
||||||
GITHUB_OWNER=quoije
|
GITHUB_OWNER=quoije # version history
|
||||||
GITHUB_REPO=oscars-pool
|
GITHUB_REPO=oscars-pool # version history
|
||||||
```
|
```
|
||||||
|
|
||||||
Generate a good `JWT_SECRET`:
|
Generate a good `JWT_SECRET`:
|
||||||
|
|||||||
Reference in New Issue
Block a user