5.00(1)

Build & Deploy Secure API with Python FASTAPI JWT SQLAlchemy

  • Categories Video Courses
  • Duration 4h
  • Total Enrolled 7
  • Last Update April 18, 2022

Description

In this course you will learn about Python, Fast API, SQLAlchemy, JWT, Heroku and using different databases like SQL Lite, MySQL, PostgresQL with SQLAlchemy. We will commit the code to Github and will then deploy the API to cloud server.

Along the way we will also learn the basics of Python which is needed for this course.

We will build a complete real world application use case by developing the all the API’s using FAST API python framework, along the way we will learn the details of Fast API framework and also compare it with other API development Frameworks.

We will learn to handle errors and exceptions and how to perform validation.

We learn then learn the basics of Authentication, Authorization and concept of JWT and then go ahead to secure our API’s with JWT(Json Web Token) and OAuth2.

We will build multiple database entities and learn to develop relationships between different models using multiple databases like SQL Lite, MySQL, PostgreSQL and SQLAlchemy library.

We will also learn how to setup the database configuration and also how to use the database explorer to visualize our data inside the database.

Next we will move on to defining different schemas with the help of Pydantic library. We will see how to convert data between models and schemas.

We will learn how to secure an API endpoint behind JWT authentication.

We will learn to use OpenAPI/Swagger docs with FastAPI to test our application.

We will then go ahead and enable CORS on our APIs.

We will learn to commit our code to Github.

Finally we will deploy our Application on cloud server.

What Will I Learn?

  • You will learn the basics of Python Programming Language.
  • You will learn about FAST API and develop real world REST APIs
  • You will learn about SQLAlchemy and how to use it for interaction with database
  • You will learn to implement JWT(Json Web Token) to create secure API endpoint
  • You will learn how to do validation and handle errors and exceYou will learn how to use different database like MySQL, PostgreSQl and SQL Lite with FAST API.
  • You will learn to deploy your code to Cloud Server and also commit to Github.

Topics for this course

51 Lessons4h

Section 1: Introduction & Setup

Lecture 1: Course Introduction00:2:28
Lecture 2: Dowloading Python and Pycharm00:4:2
Lecture 3: Installing and setting up PyCharm editor00:3:59
Lecture 4: First Python Program in Pycharm00:4:22
Lecture 5: Running Python code from command prompt00:2:26
Lecture 6: What is FastAPI00:2:55
Lecture 7: Create Python Project in Pycharm00:2:30
Lecture 8: Installing Python Libraries for our project development00:3:14

Section 2: Working with Database, Model, Relationship

Section 3: Working with Schemas & Database Session and Tables

Section 4: User Registration & JWT Implementation

Section 5: User Login & Current User Information

Section 6: Create Post, Get Posts by User, Get Post Detail

Section 7: Update, Delete Post & Get All Posts From All User

Section 8: Using MySQL & PostgreSQL Database

Deploying to Cloud, Checking Logs, Pushing to Github & Enabling CORS?

Deploying to Cloud, Checking Logs, Pushing to Github & Enabling CORS

Source Code?

Source Code

Student Feedback

5.0

Total 1 Ratings

5
1 rating
4
0 rating
3
0 rating
2
0 rating
1
0 rating

I've learnt very useful content in this course

$3.99

Requirements

  • No Prerequisite

Target Audience

  • Anyone who wants to become professional backend developer with Python, FastAPI and SQLAlchemy