File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,15 @@ Files to do this in:
19
19
3 . /backend/user-service
20
20
4 . /backend/question-service
21
21
5 . /backend/matching-service
22
- Consult the readme files in the service if there are further configurations needed.
22
+ Then, run ` node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" ` twice to generate
23
+ your 2 JWT token secrets. For the first one, paste it into the JWT_ACCESS_TOKEN_SECRET variable of
24
+ the .env files in question-service and user-service. Then, copy the second into the
25
+ JWT_REFRESH_TOKEN_SECRET of the .env file in user-service.
26
+
27
+ Further note: The DB_CLOUD_URI .env variable in user-service doesn't need to be filled in. A local
28
+ database will be created in the mongoDB service.
23
29
30
+ Consult the readme files in the service if there are further configurations needed.
24
31
### Running the Project
25
32
26
33
To run all services, execute the following command in the root directory:
You can’t perform that action at this time.
0 commit comments