Skip to content

Commit bb79771

Browse files
updated env formation step
1 parent b80f0cd commit bb79771

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.env_sample

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
PORT=5000
2+
MONGO_URI=Mongo_Connection_URL
3+
JWT_SECRET=secret_key
4+
JWT_EXPIRES_IN=7d
5+
JWT_COOKIE_EXPIRE=7d
6+
7+
CRYPTR_SECRET=your_secret_code
8+
CLIENT_ID=your_secret_id
9+
CLIENT_SECRET=your_secret
10+
REFRESH_TOKEN=refresh_token
11+
VERIFY_MAIL=admin_emails_separated_by_comma
12+
BASE_LINK=http://localhost:5000_or_http://anubhav.aitoss.club_depending_upon_environment

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ BASE_LINK=http://localhost:5000_or_http://anubhav.aitoss.club_depending_upon_env
6565
```
6666
Replace the dummy values with your credentials (Never share .env file with anyone)
6767

68+
OR
69+
70+
Just run this command instead of doing above step
71+
72+
```
73+
cp .env_sample .env
74+
```
75+
6876
Run the command in your terminal to start the dev server
6977

7078
```bash

0 commit comments

Comments
 (0)