Building Serverless Python Web Services with Zappa
上QQ阅读APP看书,第一时间看更新

A complete Flask Todo application

As we have seen how Zappa makes it super easy to deploy the Flask application, it's time to see the complete workflow that we may need while developing a Flask-based application. We are going to develop a Flask-based modularized application, where each functionality will be an independent module, such as authentication, Todo application, and so on.

The authentication module will be responsible for maintaining the authentication and authorization mechanism. It will also include the implementation of the login and sign up process.

Whereas the todo module will have a basic implementation of todo operations, this operation flow will be authorized by the authentication module. With the help of Flask extensions, we are going to manage and configure these modules. Apart from these core modules, we are also going to see the implementation related to the user interface, database configuration, and static file integration.