forked from CS3219-AY2324S1/ay2324s1-course-assessment-g03
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
52 lines (45 loc) · 1.67 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This is a sample .env file for submission of secrets for the assignments and project
# 1. For each service, create a `.env.development` file in the respective service's directory and copy in the env vars from this file
# 2. Please refer to the `README.md` in the root of the project for how to run it
# Env vars for `/frontend/app/.env.development`
VITE_BACKEND_URL=http://localhost:8001
# Env vars for `/backend/api-gateway/app/.env.development`
NODE_ENV=development
PORT=80
FRONTEND_ORIGIN=http://localhost:8000
JWT_COOKIE_NAME=peerprep-token
JWT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_CALLBACK_URL=http://localhost:8000/github/callback
USERS_SERVICE_URL=http://user-service
QUESTIONS_SERVICE_URL=http://question-service
MATCHING_SERVICE_URL=http://matching-service
COLLABORATION_SERVICE_URL=http://collaboration-service
API_GATEWAY_AUTH_SECRET=
# Env vars for `/backend/user-service/app/.env.development`
NODE_ENV=development
PORT=80
DATABASE_URL=
FRONTEND_ORIGIN=http://localhost:8000
API_GATEWAY_URL=http://api-gateway
API_GATEWAY_AUTH_SECRET=
# Env vars for `/backend/question-service/app/.env.development`
MONGO_CONNECTION_STRING=mongodb://question-service-db:27017
NODE_ENV=development
PORT=80
FRONTEND_ORIGIN=http://localhost:8000
API_GATEWAY_URL=http://api-gateway
API_GATEWAY_AUTH_SECRET=
# Env vars for `/backend/matching-service/app/.env.development`
NODE_ENV=development
PORT=80
FRONTEND_ORIGIN=http://localhost:8000
API_GATEWAY_URL=http://api-gateway
API_GATEWAY_AUTH_SECRET=
# Env vars for `/backend/collaboration-service/app/.env.development`
NODE_ENV=development
PORT=80
FRONTEND_ORIGIN=http://localhost:8000
API_GATEWAY_URL=http://api-gateway
API_GATEWAY_AUTH_SECRET=