- You can choose to develop individual microservices within separate folders within this repository OR use individual repositories (all public) for each microservice.
- In the latter scenario, you should enable sub-modules on this GitHub classroom repository to manage the development/deployment AND add your mentor to the individual repositories as a collaborator.
- The teaching team should be given access to the repositories as we may require viewing the history of the repository in case of any disputes or disagreements.
Initialising a new Nest.js project will cause a .git folder to exist within the service, which is not what we want. We want to remove the nested git folders by doing:
- Verify that there is a nested
.gitdirectory
find backend/service_name/ -name ".git"- Remove the
.gitdirectory.
rm -rf backend/service_name/.git| Service | Docker Port | Local Port |
|---|---|---|
| Frontend | 3000 | 3000 |
| API Gateway | 8000 | 8000 |
| Question Service | 8001 | 8001 |
| Matching Service | 8002 | 8002 |
| User Service | 8003 | 8003 |
| User Service MongoDB | 27017 | 27017 |
| Zookeeper | - | 8004 |
| Kafka | - | 8005 |
| Collab Service | 8007 | 8007 |
| Matching WebSocket Service | 8008 | 8008 |
| Chat Service | 8009 | 8009 |
| Kafka UI | 8006 | 8080 |
| History Service | 8090 | 8090 |
| Redis | - | 6379 |