How mdsksadi/multi-stack-devops-infrastructure-automation works
This is a multi-service voting application: voters submit choices through the Flask service, votes pass through Redis to a .NET worker and are persisted in Postgres, and the Node.js result service broadcasts counts to a live browser view. The graph separates vote intake, processing and storage, and result delivery. The README documents the end-to-end service flow; sampled source confirms the queue, database, and realtime interactions. The Socket.IO client is bundled in the repository and included as a browser runtime dependency.
Main entry points: server.js Result service · app.py Vote service · app.js Results client · Program.cs Vote worker
Components 10
Vote intake
- Vote service
vote/app.py - Vote page
vote/templates/index.html
Vote processing
- Vote queue
- Vote worker
worker/Program.cs - Vote database
Live results
- Result service
result/server.js - Results page
result/views/index.html - Results client
result/views/app.js - Socket.IO client
result/views/socket.io.js
Other components
- Voter
Connections 10
- Voter → Vote service: submits vote
README.md - Vote service → Vote page: renders
vote/app.py - Vote service → Vote queue: enqueues vote
vote/app.py - Vote queue → Vote worker: provides votes
worker/Program.cs - Vote worker → Vote database: persists votes
worker/Program.cs - Result service → Vote database: queries counts
result/server.js - Result service → Results page: serves page
result/server.js - Results client → Socket.IO client: uses client
result/views/app.js - Result service → Results client: broadcasts scores
result/server.js - Results client → Results page: updates display
result/views/app.js