Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnetteeee authored Nov 13, 2024
1 parent ce1ea45 commit 6ec4fa1
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,34 @@ Admin account (if needed):
2. Open 2 terminals on your IDE (One for Frontend, One for Backend)
3. Ensure you're on our latest commit on main branch
4. Create `.env` files in the following directories, and populate them respectively:

> [!NOTE]
> The following section is solely for official testing in CS3219.
`peer-prep-be/`:
```
MONGODB_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0
PORT=8080
```
`message-queue/`
```
AMQP_SERVER=amqps://lguugvwb:[email protected]/lguugvwb
MONGODB_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0
PORT=3002
```
`peer-prep-collab/src/`:
```
PORT=4003
MATCHING_SERVICE_URL=http://localhost:3002
QUESTIONS_SERVICE_URL=http://localhost:8080
DB_CLOUD_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0
```
`peer-prep-user/user-service/`
```
ENV=PROD
DB_CLOUD_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0
JWT_SECRET=you-can-replace-this-with-your-own-secret
```
> `peer-prep-be/`:
> ```
> MONGODB_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0
> PORT=8080
> ```
> `message-queue/`
> ```
> AMQP_SERVER=amqps://lguugvwb:[email protected]/lguugvwb
> MONGODB_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0
> PORT=3002
> ```
> `peer-prep-collab/src/`:
> ```
> PORT=4003
> MATCHING_SERVICE_URL=http://localhost:3002
> QUESTIONS_SERVICE_URL=http://localhost:8080
> DB_CLOUD_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0
> ```
> `peer-prep-user/user-service/`
> ```
> ENV=PROD
> DB_CLOUD_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0
> JWT_SECRET=you-can-replace-this-with-your-own-secret
> ```
#### Spin up backend
Before proceeding to the following procedures, install Docker Desktop
Expand Down

0 comments on commit 6ec4fa1

Please sign in to comment.