Building RESTful APIs with Flask

Building RESTful APIs with Flask
Building RESTful APIs with Flask
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 32m | 420 MB

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 APIs. Follow along with Bruce Van Horn and learn how to quickly build, secure, and test an effective RESTful API using Python and Flask, the Python microframework. Find out how to use Flask with Python to approach database access, authentication, and other common tasks. Plus, learn about a few key plugins that make using Flask even easier.

Topics include:

  • Creating a new Flask project
  • Testing with Postman
  • Returning JSON instead of text
  • Working with databases
  • Authenticating users
  • Securing APIs
Table of Contents

1 RESTful APIs with Python 3 and Flask
2 What you should know
3 Using the exercise files
4 Demo project overview
5 Creating a new Flask project in PyCharm
6 Making a super-simple API example
7 Setting up a run configuration
8 Testing with Postman
9 Restarting your server
10 Returning JSON instead of text
11 HTTP status codes
12 URL parameters
13 URL variables and conversion filters
14 Adding an ORM (SQLAlchemy)
15 Setting up SQLAlchemy
16 Creating the ORM model classes
17 Seeding the database with the Flask CLI
18 Viewing the database in DB Browser for SQLite
19 Retrieving a list of planets from the database
20 Serializing SQLAlchemy results with Marshmallow
21 JSON Web Tokens
22 Registering new users
23 Authenticating users and passing the token
24 Setting up email
25 Emailing a lost password
26 Retrieving a single planet’s details
27 Adding planets with a POST method
28 Securing the add planet endpoint
29 Updating a planet using a PUT method
30 Deleting a planet with DEL
31 Exporting your project’s requirements file
32 Conclusion