|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/use-python-fastapi-jwt-sqlalchemy-to-develop-real-world-apis/
课程评论:没有评论
课程名称:使用Python FASTAPI、JWT和SQLAlchemy构建与部署安全API 课程概述:在这门课程中,您将学习Python、FastAPI、SQLAlchemy、JWT、Heroku以及如何使用不同的数据库(如SQL Lite、MySQL和PostgreSQL)与SQLAlchemy进行交互。我们会将代码提交到GitHub,并将API部署到云服务器。在学习过程中,我们还将掌握Python的基础知识,以便为本课程打下基础。整个课程将带您构建一个完整的实际应用案例,通过开发所有API来深入了解FastAPI框架,并与其他API开发框架进行比较。 在课程中,您将学习如何处理错误和异常,以及如何进行数据验证。我们将了解身份验证、授权的基本概念,以及JWT(Json Web Token)的使用,然后进一步通过JWT和OAuth2来保护我们的API。我们会构建多个数据库实体,并学习如何使用SQL Lite、MySQL、PostgreSQL以及SQLAlchemy库在不同模型之间建立关系。此外,您将学习如何设置数据库配置,以及如何使用数据库浏览器可视化我们的数据。 接下来,我们将定义不同的模式(schemas),使用Pydantic库帮助我们在模型和模式之间转换数据。您将学习如何用JWT认证保护API端点,使用OpenAPI/Swagger文档测试我们的应用程序。在课程的最后,我们将启用API上的CORS,学习如何将代码提交到GitHub,最终将我们的应用程序部署到云服务器上。
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.