To Perform Real Time Polling In any application.
Using Clean Architecture for Microservice APIs in Node.js with MongoDB and Express
In this video they talk about Bob Martin's Clean Architecture model and I have apply it to a Microservice built in node.js with MongoDB and Express JS
- Publish new Poll
- Real Time voting in a poll(via socket.io)
git clone https://github.com/roopamgarg/real-time-polling-microservice.git
cd real-time-polling-microservice
npm iUsually this is just: mongod on the command line.
npm startTo run in development mode
npm run dev