Skip to content

Commit

Permalink
Merge pull request #169 from CS3219-AY2324S1/assignment-3-docs
Browse files Browse the repository at this point in the history
remove .env contents from Assignment-3.md
  • Loading branch information
chloeelim authored Nov 18, 2023
2 parents d269775 + e25d2c5 commit a4b3985
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions Assignment-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,6 @@
`Assignment3-FrontendEnv.txt` respectively.
Make sure they are `.env` files within the question service, user service, and frontend directories.

For convenience, they have been placed here:

`Assignment3-QuestionServiceEnv.txt`
```
MONGO_CONNECTION_STRING=mongodb+srv://sherylhci:[email protected]/peerprep_app?retryWrites=true&w=majority
PORT=8080
ACCESS_TOKEN_SECRET="access_secret"
REFRESH_TOKEN_SECRET="refresh_secret"
FRONTEND_URL="http://localhost:3000"
```

`Assignment3-UserServiceEnv.txt`
```
DATABASE_URL="postgresql://postgres@localhost:5432/postgres?schema=public"
PORT=8000
ACCESS_TOKEN_SECRET="access_secret"
REFRESH_TOKEN_SECRET="refresh_secret"
FRONTEND_URL="http://localhost:3000"
```

`Assignment3-FrontendEnv.txt`
```
REACT_APP_BACKEND_URL=http://localhost:8080/api
REACT_APP_USER_SERVICE_BACKEND_URL=http://localhost:8000/
```

### Install dependencies
4. Run `npm install` to install the dependencies for the question service, user service, and frontend.

Expand Down

0 comments on commit a4b3985

Please sign in to comment.