Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build & Deploy Secure API with Python FASTAPI JWT SQLAlchemy
Rating: 4.0 out of 5(101 ratings)
6,528 students

Build & Deploy Secure API with Python FASTAPI JWT SQLAlchemy

Develop & Deploy Real World Secure API's with Python,JWT, FAST API, SQLAlchemy, Multiple DB, Validation & Error Handling
Created byRanjan Pandey
Last updated 6/2023
English

What you'll learn

  • You will learn the basics of Python Programming Language
  • You will learn about FAST API and develop real world secure 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 exceptions
  • You 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

Course content

10 sections52 lectures3h 59m total length
  • Course Introduction2:28

    Learn FastAPI by building a production-grade app with user registration, login, and CRUD posts secured by JWT authentication. Establish user–post relationships, schemas, models, and service functions across supported databases.

  • About your Instructor0:18
  • Dowloading Python and Pycharm4:02

    Download the latest python version 3.10.1 from the official site and add python to your system path. Download the Bijan editor and choose the community version, which is free.

  • Installing and setting up PyCharm editor3:33

    Install and set up PyCharm community edition for Python development, create a new project with automatic Python interpreter detection, trust the installer, and start coding.

  • First Python Program in Pycharm4:21

    Learn to set up your first Python program in PyCharm, configure virtual environments and interpreters, create a main .py file, and run it.

  • Running Python code from command prompt2:26

    Learn to run python code from the command prompt or python shell by executing scripts, printing hello world, and using VS Code or PowerShell.

  • What is FastAPI2:55

    Explore fastapi, a high-performance, easy to learn Python framework for building and deploying production-ready APIs with built-in open API documentation and swagger support.

  • Create Python Project in Pycharm2:30

    Create a Python project in PyCharm, configure a virtual environment, create a main file, run a simple hello world API, and prepare to install the required Python libraries for development.

  • Installing Python Libraries for our project development3:14

    Install and verify essential libraries for the project, including jwt and sqlalchemy, using both the IDE package manager and a virtual environment terminal to prepare for fastapi jwt authentication.

Requirements

  • Basics of Python

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.

Who this course is for:

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