In this microservice, we (admin) actually adds live match record (score) into the database and immediately we also publish that score to another microservice https://github.com/mechanicles/espn_cricinfo_frontend.
This microservice https://github.com/mechanicles/espn_cricinfo_frontend acts as a subscriber to our system. Users will use this microservice to get the real time match updates on their browser.
- Install RabbitMQ and run it in background.
- Install Web-Stomp by enabling it using
rabbitmq-plugins enable rabbitmq_web_stomp
- Create & migrate database using Rails commands.
- Publisher Microservice - https://espn-cricinfo.herokuapp.com/
- Subscriber Microservice - https://espn-cricinfo-frontend.herokuapp.com/