REST APIs with Flask and Python in 2024

所在平台: Coursera

课程主页: https://www.coursera.org/learn/packt-rest-apis-with-flask-and-python-in-2024-i01az

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:2024年使用Flask和Python构建REST API 课程概述:本课程配备Coursera Coach,提供一种更智能的学习方式,通过互动实时对话帮助您测试知识、挑战假设,并深入理解课程内容。在这个综合课程中,您将掌握使用Flask和Python构建REST API的艺术。课程开始时将复习Python基础知识,重点关注数据结构、函数和面向对象编程等关键概念。 课程大纲: 1. **欢迎**:介绍掌握使用Flask和Python构建REST API的亮点和好处,强调这一技能在职业发展中的重要性。 2. **全面的Python复习**:回顾Python编程的基本概念,包括变量、数据结构、控制流、函数和面向对象编程等,为API开发的高级应用做好准备。 3. **您的第一个REST API**:指导您使用Flask构建第一个REST API,学习设置Flask应用程序、创建端点,并使用JSON与API交互,为更复杂的项目打下基础。 4. **Docker简介**:介绍Docker,演示如何将Flask应用容器化,学习使用Docker和Docker Compose简化开发和部署过程。 5. **使用Flask-Smorest提高开发效率**:探讨Flask-Smorest扩展,以改善API开发过程,学习增强数据模型、创建新端点,使用Flask-Smorest装饰响应和验证数据。 6. **使用SQLAlchemy存储数据**:涵盖如何将SQLAlchemy与Flask集成以进行强大的数据库管理,学习创建和管理数据库模型,处理关系并高效执行CRUD操作。 7. **SQLAlchemy中的多对多关系**:深入研究使用SQLAlchemy处理复杂数据关系,学习实现一对多和多对多关系,优化数据库模型以适应真实场景。 8. **使用Flask-JWT-Extended进行用户认证**:探索Flask-JWT-Extended的用户认证,学习集成基于JWT的认证,创建注册和登录端点,并有效保护API端点。 9. **使用Alembic和Flask-Migrate进行数据库迁移**:引入Alembic和Flask-Migrate以处理数据库迁移,学习设置、初始化和管理数据库模式,确保开发过程中的平稳过渡。 10. **Git速成课程**:提供Git的速成课程,涵盖版本控制的基础知识、分支、合并和解决冲突,学习如何有效管理代码并进行协作。 11. **使用Render.com进行部署**:指导您在Render.com上部署Flask应用程序,学习设置Web服务、管理PostgreSQL数据库,并测试应用程序以确保在生产环境中的稳定性。 12. **使用rq处理任务队列和发送邮件**:涵盖任务队列和使用rq进行后台任务管理,学习使用Mailgun发送邮件、管理任务队列,并部署后台任务工作者,以增强Flask应用的功能和可靠性。 这个课程不仅适合想要增强编程技能的初学者,也适合希望在实际应用中提升REST API开发能力的中级开发者。通过实践项目和互动学习,您将获得应对现代开发挑战所需的知识和技能。

课程大纲

Name:Welcome

Description:In this module, we will present the highlights and benefits of mastering REST APIs with Flask and Python. You'll gain insights into the significance of this skill set for your professional growth and be encouraged to dive into the learning experience.

Name:A Full Python Refresher

Description:In this module, we will comprehensively review essential Python programming concepts, covering variables, data structures, control flow, functions, object-oriented programming, and more. This section will reinforce your Python knowledge and prepare you for advanced applications in API development.

Name:Your first REST API

Description:In this module, we will guide you through building your first REST API using Flask. You'll learn to set up the Flask app, create endpoints, and interact with the API using JSON, laying the groundwork for more complex projects.

Name:Introduction to Docker

Description:In this module, we will introduce Docker and demonstrate how to containerize your Flask application. You will learn to use Docker and Docker Compose to streamline development and deployment processes.

Name:Flask-Smorest for more efficient development

Description:In this module, we will explore the Flask-Smorest extension to improve your API development process. You'll learn to enhance data models, create new endpoints, and use Flask-Smorest for decorating responses and validating data.

Name:Store data in a SQL database with SQLAlchemy

Description:In this module, we will cover integrating SQLAlchemy with Flask for robust database management. You'll learn to create and manage database models, handle relationships, and perform CRUD operations efficiently.

Name:Many-to-many relationships with SQLAlchemy

Description:In this module, we will delve into complex data relationships using SQLAlchemy. You will learn to implement one-to-many and many-to-many relationships, optimizing your database models for real-world scenarios.

Name:User authentication with Flask-JWT-Extended

Description:In this module, we will explore user authentication with Flask-JWT-Extended. You will learn to integrate JWT-based authentication, create registration and login endpoints, and secure your API endpoints effectively.

Name:Database migrations with Alembic and Flask-Migrate

Description:In this module, we will introduce Alembic and Flask-Migrate for handling database migrations. You will learn to set up, initialize, and manage database schemas, ensuring smooth transitions during development.

Name:Git Crash Course

Description:In this module, we will provide a crash course on Git, covering the basics of version control, branching, merging, and resolving conflicts. You will learn to manage your code efficiently and collaborate effectively using Git.

Name:Deployments with Render.com

Description:In this module, we will guide you through deploying your Flask applications on Render.com. You will learn to set up web services, manage PostgreSQL databases, and test your applications to ensure stability in production.

Name:Task Queues with rq and sending emails

Description:In this module, we will cover task queues and background task management using rq. You will learn to send emails with Mailgun, manage task queues, and deploy background task workers, enhancing the functionality and reliability of your Flask applications.

课程评论(0条)

课程详情

This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this comprehensive course, you will master the art of building REST APIs using Flask and Python. You will start by refreshing your Python fundamentals, focusing on key concepts like data structures, functions, and object-oriented programming. With this foundation, you'l

课程标签

0人关注该课程

主题相关的课程