Technical requirements
This chapter will highlight an Online Voting System prototype with some asynchronous tasks and background processes to manage the high bandwidth of candidates’ applications and election-related submissions from different areas and to cater to the simultaneous retrieval of vote tallies from various parties. The system is composed of three separate projects, namely ch05-api
, which has the API endpoints, ch05-web
, which implements the SSE, WebSocket, and template-based results, and ch05-quart
, which provides another platform for the app using the Quart framework. All these projects use the application factory design pattern and are available at https://github.com/PacktPublishing/Mastering-Flask-Web-Development/tree/main/ch05.