Skip to content

Commit e247634

Browse files
committed
update readme
1 parent ea987f1 commit e247634

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This project follows a microservices architecture with the following services:
1111
6. **MongoDB** - Port `27017` (Database)
1212
7. **Nginx API Gateway** - Port `80`
1313
8. **Redis** - Port `6379`
14+
9. **Zookeeper** - Port `2181`
15+
10. **Kafka** - Port `9092`, Port `29092`
1416

1517
### Setting up the Project
1618
Copy and paste the .env.example files in each service. Rename them as .env files.
@@ -20,6 +22,7 @@ Files to do this in:
2022
3. /backend/user-service
2123
4. /backend/question-service
2224
5. /backend/matching-service
25+
6. /backend/collaboration-service
2326
Then, run `node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"` twice to generate
2427
your 2 JWT token secrets. For the first one, paste it into the JWT_ACCESS_TOKEN_SECRET variable of
2528
the .env files in question-service and user-service. Then, copy the second into the
@@ -43,8 +46,10 @@ Once the containers are up:
4346
- MongoDB: [http://localhost:27017](http://localhost:27017)
4447
- Nginx API Gateway: [http://localhost:80](http://localhost:80)
4548
- Redis: [http://localhost:6379](http://localhost:6379)
49+
- Zookeeper: [http://localhost:2181](http://localhost:2181)
50+
- Kafka: [http://localhost:9092](http://localhost:9092)
4651

47-
Note that even after docker says that everything is up and running, there is a risk that they aren't when you load the frontend.
52+
Note that even after docker says that everything is up and running, there is a risk that they aren't when you load the frontend. Wait for the frontend logs to show up in the docker logs.
4853
In this event, wait for about a minute before trying again. If that still doesn't work and there are network errors, try
4954
rebuilding the services by running `docker-compose up --build` again.
5055

0 commit comments

Comments
 (0)