The Complete FastAPI Course With OAuth & JWT Authentication

Learn how to built modern, authenticated REST API with FastAPI, Python, SQLAlchemy, OAuth & JWT

Ratings: 4.43 / 5.00




Description

The Complete FastAPI Course: Build API with Python & FastAPI

Here Is What You Get By Enrolling In This Course:

Word-By-Word Explanation: In the entire course, I explain each line of code, without skipping a single line of code.

Awesome Quality Content: Over 5+ hours of HD(1080p) Videos.

Well Structured & Easy To Learn: Course has been specially designed to make it easy for the students to learn how to build APIs using FastAPI & Python.

24 X 7 Support: I  will always be there to guide you in your journey to become a FastAPI expert.


Here Is A Brief Introduction About This Complete Course:

FastAPI is one of the most modern, fast and efficient framework for building APIs.

If you want to learn how to built high performance APIs then FastAPI should be your go to framework.

In this course we will learn FastAPI right from scratch and by then end of the course you will be able to build a complete API which supports authentication, JWT tokens, relational models and protected API routes.

This course is designed in a way that even a complete beginner can get started building APIs without even knowing what an API is.

We start off with the basics such as understanding what an API is and what purpose it serves.

We will then learn the different approaches/ frameworks to build APIs with Python and how they compare with FastAPI.

The entire course is divided into 8 sections as follows:

Section 1: Introduction & Installation.

This section covers what an API is and the purpose and API serves. We also jump into learning about the FastAPI framework and how it helps create high performance APIs in no time. We will also learn how to setup and install FastAPI framework in a virtual environment and will create our first and the most basic API.

Section 2: Path & Query Parameters

APIs accept queries in form of URL requests. In this section we learn what are path and query parameters and how they can be used for form a request body to make API calls. We learn how to program APIs in a way such that they respond as per the data sent to it from path and query parameters. We also learn how to use both the parameters simultaneously in a single API route.

Section 3: Models & Request Body.

While working with APIs we need a way to model data, be it request or response data. With FastAPI, we can use Pydantic models which allow us to create data models that can be used to define the structure of data. We learn how to create Pydantic models and use them inside API routes

Section 4: Connecting to the database.

In this section we learn how to establish a connection with the database. We will be using the SQLAlchemy library as on object relational mapper which maps tables into classes and table rows into objects, that way database data can be manipulated without having to write any SQL queries. We learn how to create SQLAlchemy models and later convert them into database tables at the backend. We use a tool called table plus to visualize database data.

Section 5: Performing CRUD operations.

Once the database connection is established, we then learn how to perform operations like create, read, update and delete on the database data. We create separate routes for each of these operations and also learn how to raise exceptions with HTTP error codes whenever the API receives an invalid request.

Section 6: Creating Multiple Models & Establishing Relationship.

After performing the database operations on a single model, we then learn how to create multiple models and establish a connection between them using a foreign key. We also learn how to securely store hashed passwords in a database using a library called Bcrypt. Along with it we also learn how to add metadata to our API and modify contents on the documentation page.

Section 7: Using API Router.

Writing modular code is always preferable when it comes to any software and same is the case with APIs as well. Using API routes, we can split different routes into multiple files so that the code becomes modular and maintainable. We learn how to use routers and split the main API code into separate modules using an API router.

Section 8: Authentication.

This section covers how to validate user credentials via an API route. Once the credentials are found to be valid, we then generate a JWT token for every logged in user. JWT tokens help us prevent access to API routes from unauthorized users. We learn how to create an assign JWT tokens to users so they can securely access API routes.


So let's begin the journey of becoming an expert API developer.

In addition to the Udemy 30-day money back guarantee, you  have my personal guarantee that you will love what you learn in this  course. If you ever have any questions please feel free to message me  directly and I will do my best to get back to you as soon as  possible!


Make sure to enrol in the course before the price changes.

Take yourself one step closer towards becoming a professional API developer by clicking the "take this course button" now!

Join the journey.

Sincerely,

Ashutosh Pawar

What You Will Learn!

  • Develop APIs quickly using FastAPI
  • Learn to model data for providing API response
  • Learn how to connect an API to a database
  • Use SQLAlchemy to perform operations like create, read, update & delete data
  • Make API requests to manipulate database data
  • Send different status codes from an API
  • Handle exceptions for invalid API requests
  • Establish relationships between multiple data models
  • Create metadata for API
  • Use API router to modularise API routes
  • Protect API routes using authentication mechanisms
  • Generate JWT tokens to validate API requests

Who Should Attend!

  • Python developers who want to learn an efficient, modern and faster way to create a APIs
  • Developers who want to create performant APIs