Step | Description |
---|---|
1 | Download the zip file named ay2324s1-course-assessment-Assignment-5.zip from Assignment-5-updated. |
2 | Unzip the file and navigate to the folder ay2324s1-course-assessment-Assignment-5 . |
3 | Set up the environment variables in .env for each of the microservices in the backend , as well as, for the frontend . They can be found in our submission on Canvas for private variables. |
4 | Run npm install to install the dependencies for each microservice and frontend . Note: You may need to run npm i --save-dev @types/cors and npm i --save-dev @types/express should you encounter any errors. |
5 | Run brew install rabbitmq to install RabbitMQ. |
6 | Run rabbitmq-plugins enable rabbitmq_management to enable the RabbitMQ management plugin. |
7 | Run brew services start rabbitmq to start the RabbitMQ server. |
8 | To ensure that the RabbitMQ server is running, navigate to http://localhost:15672/ and login with the default credentials guest and guest . Note: If RabbitMQ is already running, you may want to run brew services restart rabbitmq instead. |
9 | Run npm start and navigate to http://localhost:3000/ to access the frontend. |
10 | Once a successful match is made, you can verify the queue is working by navigating to http://localhost:15672/#/queues . You should see the queue match_results if it is successful. |