Build REST APIs with Python and Flask Training Course

Course Code

restflask

Duration

14 hours (usually 2 days including breaks)

Requirements

  • An understanding of Flask
  • Python programming experience

Audience

  • Backend Developers

Overview

Flask is a micro-framework for developing web services in Python. Flask, unlike other frameworks, does not have any dependencies on external libraries, making it lightweight and fast.

This instructor-led, live training (onsite or remote) is aimed at backend developers who wish to build REST APIs with Python and Flask.

By the end of this training, participants will be able to:

  • Implement a REST API to allow a Flask web application to read and write to a database in the backend.
  • Develop advanced authentication features like refresh tokens.
  • Build a reusable backend for future Python projects.
  • Simplify storage of data with SQLAlchemy.
  • Deploy REST APIs onto a cloud based server.

Format of the Course

  • Interactive lecture and discussion.
  • Lots of exercises and practice.
  • Hands-on implementation in a live-lab environment.

Course Customization Options

  • To request a customized training for this course, please contact us to arrange.

Course Outline

Introduction

Flask and Flask-RESTful Framework

  • Templating, routing, forms, and authentication
  • Constructs for code scaling
  • Database management

The Fundamentals of APIs and Their Functionality

  • Scalar types
  • Web Architecture Patterns: the composite pattern, proxy pattern, and facade pattern

REST Overview

  • Get option
  • Pull option
  • Post option
  • Delete option

Preparing the Development Environment

  • Installing Postman
  • Installing Python
  • Installing and configuring Flask
  • Installing Flask-RESTful
  • Setting up a URL route

REST APIs with Flask-RESTful

  • Designing and testing an API
  • Creating resources
  • Creating and storing items
  • Refractoring code
  • Implementing HTTP verbs
  • Using reqparse
  • Removing duplication

Flask-SQLAlchemy

  • Setting up SQLAlchemy
  • Creating models
  • Testing with Postman
  • Defining keys
  • Implementing models using SQLAlchemy
  • Automating with SQLAlchemy

Security with REST APIs

  • Setting up DNS records
  • Creating a SSL certificate
  • Adding and using JWT to further security

Cloud Deployment

  • Connecting to a version control system
  • Adding a key pair
  • Creating a server instance
  • Implementing deployment scripts

Summary and Conclusion

Testimonials

★★★★★
★★★★★

Related Categories

Related Courses

Course Discounts

Course Discounts Newsletter

We respect the privacy of your email address. We will not pass on or sell your address to others.
You can always change your preferences or unsubscribe completely.

Some of our clients

is growing fast!

We are looking to expand our presence in the UK!

As a Business Development Manager you will:

  • expand business in the UK
  • recruit local talent (sales, agents, trainers, consultants)
  • recruit local trainers and consultants

We offer:

  • Artificial Intelligence and Big Data systems to support your local operation
  • high-tech automation
  • continuously upgraded course catalogue and content
  • good fun in international team

If you are interested in running a high-tech, high-quality training and consulting business.

Apply now!