Build & Deploy Secure API with Python FASTAPI JWT SQLAlchemy
- Description
- Curriculum
- FAQ
- Reviews
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.
-
1Course IntroductionVideo lesson
-
2Dowloading Python and PycharmVideo lesson
-
3Installing and setting up PyCharm editorVideo lesson
-
4First Python Program in PycharmVideo lesson
-
5Running Python code from command promptVideo lesson
-
6What is FastAPIVideo lesson
-
7Create Python Project in PycharmVideo lesson
-
8Installing Python Libraries for our project developmentVideo lesson
-
13Logic to verify passwordVideo lesson
-
14Create Service Layer Create DB methodVideo lesson
-
15Installing Database Explorer ToolVideo lesson
-
16Setting up the main appVideo lesson
-
17Create Schema Classes for UserVideo lesson
-
18Create Schema Classes for PostVideo lesson
-
19Create Database SessionVideo lesson
-
20Database TablesVideo lesson
-
21Create API endpoint for User RegistrationVideo lesson
-
22Create db query to find if user with email existVideo lesson
-
23Throw exception if user with email existVideo lesson
-
24What is JWT and Components of JWTVideo lesson
-
25Write query to save user in database after some validationVideo lesson
-
26Save user Create JWT token and Return thatVideo lesson
-
27Start Server and Test user Registration flowVideo lesson
-
33Implement Create Post functionality in Service layerVideo lesson
-
34Implement Create Post API EndpointVideo lesson
-
35Testing Create Post by the logged in userVideo lesson
-
36Implement All Posts by User functionalityVideo lesson
-
37Create REST API Endpoint to get all posts by the userVideo lesson
-
38Test Get All Post By the UserVideo lesson
-
39Implement API and Functionality to get post detailVideo lesson
-
40Implement API and Delete Post functionalityVideo lesson
-
41Fix Error for Delete PostVideo lesson
-
42Update Post API endpoint and Functionality ImplementationVideo lesson
-
43API and Functionality to get All posts from All usersVideo lesson
-
44Implement API and Functionality to Get User DetailVideo lesson
External Links May Contain Affiliate Links read more