Skip to content

Commit 309df67

Browse files
committed
jwt in readme
1 parent bbc80bd commit 309df67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ First of all, set up your project by creating `.env` file with next content:
1212

1313
```env
1414
mongoUri = "<YOUR MONGO URI>"
15+
jwtSecret = "<SECRET KEY>"
1516
```
1617

1718
Main available scripts in the project directory:
@@ -59,6 +60,7 @@ module.exports = {
5960
NODE_ENV: "production",
6061
mongoUri: "<YOUR MONGO URI>" /*replace this*/,
6162
httpsRedirect: false /*true if enable*/,
63+
jwtSecret: "<SECRET KEY>",
6264
},
6365
},
6466
],
@@ -74,4 +76,5 @@ module.exports = {
7476
- NODE_ENV: production
7577
- mongoUri: YOUR MONGO URI
7678
- httpsRedirect: true
79+
- jwtSecret: SECRET KEY
7780
- Click "Deploy branch" button

0 commit comments

Comments
 (0)