The aim of this video is to cover the design guidelines that should be taken into account when building large applications/APIs using Flask.
- [Narrator] Hi and welcome to the last video…of this section.…Guidelines for building large project.…In the last video we discussed how error handling…should be done within a RESTful API.…In this video, we are going to take a look…at how our application can be built…using a modular architecture.…Then we will review what guidelines…should the RESTful follow…and in the end will see what are Flask blueprints.…The modular architecture exists…for a long time in software development…and also in the industry.…The main concepts are that the application…should be built up using smaller,…independently configurable parts…which should connect to each other…through a well defined interface.…
Of course, if we keep these principles,…then our modules can be reused in other applications.…On the diagram,…we can see how a Flask application is built up.…Let's start from top to bottom.…In the upper layer, we have the REST API.…This is the one which we always access using POST…and Google Chrome extension.…This REST API interface is the purpose of this project…
Regardless of platform, you will need to build APIs to serve data between different client applications and endpoints. Good APIs are a necessity for web and mobile projects, especially with the modern, mobile-first approach to development. This course delivers the fundamental knowledge required to enable highly connected interactions between applications via RESTful web APIs. Follow along with Gergo Bogdan and learn how to build up and structure an effective web API that can be used by any client application accessing it over HTTP, using Flask, the Python microframework.
Find out how to implement CRUD operations using SQLAlchemy and MySQL as the data store. Get an understanding of how REST works relative to APIs, and learn how to test APIs written in Python with the support of Flask. Explore token-based authentication and find out how to store passwords securely in your database. Along the way, Gergo introduces best practices and design guidelines when building large applications.
- Setting up Flask
- Using Flask templates and routing
- Implementing CRUD operations
- Implementing pagination
- Configuring RESTful authentication
- HTTP caching
- Securing web APIs
- Testing the application