Building RESTful Python Web Services with Flask

Building RESTful Python Web Services with Flask

Create lightweight, maintainable, scalable, and secure web apps using the best tools and techniques

Bestseller
16.05 9.62

About This Course

Python is the language of choice for millions of developers worldwide, due to its gentle learning curve as well as its vast applications in day-to-day programming. It builds great web services in the RESTful architecture. This video will show you the best tools you can use to build your own web services. Learn how to develop RESTful APIs using the popular Python frameworks and all the necessary stacks with Python and Flask, combined with related libraries and tools. We will delve into the framework for building various web services. We will show you everything required to successfully develop RESTful APIs with the Flask framework, such as request handling, URL mapping, serialization, validation, authentication, authorization, versioning, databases, and asynchronous callbacks. At the end of the framework, we will add authentication and security to the RESTful APIs and prepare tests for them. By the end of the video, you will have a deep understanding of the stacks needed to build RESTful web services.

Other Information

  • Certificate will provided in this course on Completion
  • Full lifetime access
  • Available on Mobile & Laptop

What Students Will Learn In Your Course?

  • Develop complex RESTful APIs from scratch with Python, with and without data sources
  • Add authentication and permissions to a RESTful API built in the Flask framework
  • Map URL patterns to request handlers and check how the API works
  • Profile an existing API and refactor it to take advantage of asynchronous code

Are There Any Course Requirements Or Prerequisites?

You should already have some knowledge of RESTful APIs.

Who Are Your Target Students?

This video course is for web developers who have a working knowledge of Python and would like to build amazing web services by taking advantage of Python with the Flask framework.

Course Content

  • 32 lectures
  • 02:20:37
  • The Course Overview
    00:03:28
  • CRUD Operations in Flask
    00:04:51
  • Setting Up the Virtual Environment with Flask
    00:02:14
  • Declaring Status Codes for the Responses
    00:02:44
  • Using a Dictionary as a Repository
    00:04:29
  • Working with Resourceful Routing
    00:07:38
  • Configuring Resource Routing and Endpoints
    00:03:50
  • Working with Command-Line Tool HTTPie
    00:06:45
  • Working with GUI Tool Postman
    00:03:59
  • Designing a RESTful API with a PostgreSQL Database
    00:02:31
  • Installing Packages to Simplify our Common Tasks
    00:03:16
  • Creating and Configuring the Database
    00:03:16
  • Creating Models with Their Relationships
    00:03:53
  • Creating Schemas to Validate, Serialize, and Deserialize Models
    00:05:57
  • Combining Blueprints with Resourceful Routing
    00:12:18
  • Registering the Blueprint and Run Migrations
    00:06:22
  • Creating and Retrieving Related Resources
    00:04:29
  • Improving Unique Constraints in the Models
    00:05:13
  • Updating Fields for a Resource with the PATCH Method
    00:02:27
  • Coding a Generic Pagination Class
    00:05:14
  • Adding Pagination Features to the API
    00:03:52
  • Understanding the Steps to Add Authentication and Permissions
    00:02:31
  • Adding a User Model
    00:04:28
  • Adding Authentication to Resources
    00:03:12
  • Creating Resource Classes to Handle Users
    00:04:41
  • Running Migrations to Generate the User Table
    00:03:16
  • Composing Requests with the Necessary Authentication
    00:03:30
  • Setting Up Unit Tests
    00:02:49
  • Defining a First Round of Unit Tests
    00:07:22
  • Running Unit Tests with nose2
    00:03:45
  • Improving Test Coverage
    00:03:48
  • Understanding Strategies for Deployments and Scalability
    00:02:29
Image

Packt Publication

  • 4.4 (8)
  • 7 Reviews
  • 8 Students
  • 935 Courses