К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
REST APIs with Flask and Python in 2024 · LearnSpace
Назад в каталог
courseraПрограммирование

REST APIs with Flask and Python in 2024

Курс от Packt
Средний≈ 17.1 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

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'll quickly dive into the world of Flask, learning how to create REST API endpoints, handle data, and manage databases using SQLAlchemy. As you progress, you’ll discover advanced techniques such as Docker containerization, API testing with Insomnia, and securing your APIs with JWT authentication. The course also includes hands-on projects, such as building a fully functional REST API that connects to a PostgreSQL database, and deploying it on Render.com for real-world application. Ideal for Python developers looking to expand their skills in web development, this course covers everything from simple API setup to advanced features like background task queues and email notifications. By the end of the course, you’ll be able to confidently build and deploy modern REST APIs using Flask, and manage them effectively with industry-standard tools.

Навыки, которые вы освоите

Flask (Web Framework)Database ManagementRestful APIJSONObject-Relational MappingDatabase DevelopmentDevelopment EnvironmentAuthenticationsApplication Programming Interface (API)Git (Version Control System)ContainerizationObject Oriented Programming (OOP)Application DeploymentDocker (Software)Python ProgrammingOperational DatabasesData StructuresAPI TestingVersion Control

Программа курса

12 модулей · 132 учебных материалов

01Welcome2 материалов

Welcome

PromotionВидеоFull Course ResourcesЧтение
02A Full Python Refresher48 материалов

A Full Python Refresher

Introduction to this sectionВидео

Учитесь у экспертов

Packt - Course Instructors

Преподаватель курса

REST APIs with Flask and Python in 2024
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 17.1 ч

12 модулей

Язык: Английский

Субтитры: Казахский

Часть программы вашего университета
Variables in PythonВидео
Solution to coding exercise: VariablesВидео
String formatting in PythonВидео
Getting user inputВидео
Writing our first Python appВидео
Lists, tuples, and setsВидео
Advanced set operationsВидео
Solution to coding exercise: Lists, tuples, setsВидео
Booleans in PythonВидео
If statementsВидео
The 'in' keyword in PythonВидео
If statements with the 'in' keywordВидео
Loops in PythonВидео
Solution to coding exercise: Flow controlВидео
List comprehensions in PythonВидео
DictionariesВидео
Destructuring variablesВидео
Functions in PythonВидео
Function arguments and parametersВидео
Default parameter valuesВидео
Functions Returning ValuesВидео
Solution to Coding Exercise: FunctionsВидео
Lambda Functions in PythonВидео
Dictionary ComprehensionsВидео
Solution to Coding Exercise: Dictionaries and StudentsВидео
Unpacking ArgumentsВидео
Unpacking Keyword ArgumentsВидео
Object-Oriented Programming in PythonВидео
Magic Methods: ..str.. and ..repr..Видео
Solution to Coding Exercise: Classes and ObjectsВидео
@classmethod and @staticmethodВидео
Solution to Coding Exercise: @classmethod and @staticmethodВидео
Class InheritanceВидео
Class CompositionВидео
Type Hinting in Python 3.5+Видео
Imports in PythonВидео
Relative Imports in PythonВидео
Errors in PythonВидео
Custom Error ClassesВидео
First-Class FunctionsВидео
Simple Decorators in PythonВидео
The "at" Syntax for DecoratorsВидео
Decorating Functions with ParametersВидео
Decorators with ParametersВидео
Mutability in PythonВидео
Mutable Default Parameters (and Why They Are a Bad Idea)Видео
Exploring Booleans and ComparisonsDIALOGUE
03Your first REST API10 материалов

Your first REST API

Overview of the project we'll buildВидеоInitial set-up for a Flask appВидеоYour first REST API endpointВидеоWhat is JSON?ВидеоHow to interact with and test your REST APIВидеоHow to create stores in our REST APIВидеоHow to create items in each storeВидеоHow to get a specific store and its itemsВидеоBuilding and Testing a REST APIDIALOGUEAssessment 1Задание
04Introduction to Docker4 материалов

Introduction to Docker

What are Docker containers and images?ВидеоHow to run a Flask app in a Docker containerВидеоHow to run the Flask REST API with Docker ComposeВидеоIntroduction to Docker and ContainersDIALOGUE
05Flask-Smorest for more efficient development9 материалов

Flask-Smorest for more efficient development

Data model improvements for our APIВидеоGeneral improvements to our first REST APIВидеоNew endpoints for our first REST APIВидеоHow to run the API in Docker with automatic reloading and debug modeВидеоHow to use Blueprints and MethodViews in FlaskВидеоHow to write marshmallow schemas for our APIВидеоHow to perform data validation with marshmallowВидеоDecorating responses with Flask-SmorestВидеоIdentifying and Using Unique Identifiers in Flask APIsDIALOGUE
06Store data in a SQL database with SQLAlchemy13 материалов

Store data in a SQL database with SQLAlchemy

Overview and why use SQLAlchemyВидеоHow to code a simple SQLAlchemy modelВидеоHow to write one-to-many relationships using SQLAlchemyВидеоHow to configure Flask-SQLAlchemy with your Flask appВидеоHow to insert data into a table using SQLAlchemyВидеоHow to find models in the database by ID or return a 404ВидеоHow to update models with SQLAlchemyВидеоHow to retrieve list of all modelsВидеоHow to delete models with SQLAlchemyВидеоDeleting related models with cascadesВидеоConclusion of this sectionВидеоUsing ORMs with Flask and SQLAlchemyDIALOGUEAssessment 2Задание
07Many-to-many relationships with SQLAlchemy4 материалов

Many-to-many relationships with SQLAlchemy

Changes in this sectionВидеоOne-to-many relationship between stores and tagsВидеоMany-to-many relationship between items and tagsВидеоImplementing Many-to-Many Relationships with SQLAlchemyDIALOGUE
08User authentication with Flask-JWT-Extended11 материалов

User authentication with Flask-JWT-Extended

Who uses the JWT?ВидеоHow to set up Flask-JWT-Extended with our appВидеоCoding the User model and schemaВидеоHow to add a register endpoint to the REST APIВидеоHow to add a login endpoint to the REST APIВидеоProtect endpoints by requiring a JWTВидеоJWT claims and authorizationВидеоHow to add logout to the REST APIВидеоRequest chaining with InsomniaВидеоToken refreshing with Flask-JWT-ExtendedВидеоUnderstanding JWT Authentication FlowDIALOGUE
09Database migrations with Alembic and Flask-Migrate6 материалов

Database migrations with Alembic and Flask-Migrate

How to add Flask-Migrate to our Flask appВидеоInitialize your database with Flask-MigrateВидеоChange SQLAlchemy models and generate a migrationВидеоManually review and modify database migrationsВидеоAdding Flask-Migrate to Flask AppsDIALOGUEAssessment 3Задание
10Git Crash Course8 материалов

Git Crash Course

What are Git repositories and commits?ВидеоInitialize a Git repository for our projectВидеоWriting Markdown for documents and commitsВидеоRemote repositories and how to use themВидеоGit branches and mergingВидеоMerge conflicts and how to resolve themВидеоOverview of the final e-book chaptersВидеоLearning Git BasicsDIALOGUE
11Deployments with Render.com7 материалов

Deployments with Render.com

Creating a Render.com web serviceВидеоHow to run Flask with gunicorn in DockerВидеоGet a deployed PostgreSQL databaseВидеоRun the app and database locally with Docker ComposeВидеоUse PostgreSQL locally and in productionВидеоTest the finished production appВидеоDeploying with Render.com and DockerDIALOGUE
12Task Queues with rq and sending emails10 материалов

Task Queues with rq and sending emails

How to send emails with Python and MailgunВидеоHow to send emails when users registerВидеоWhat is a task queue and setting up a Redis databaseВидеоHow to Populate and consume the task queue with rqВидеоHow to process background tasks with the rq workerВидеоHow to send HTML emails using Mailgun and PythonВидеоHow to deploy a background worker to render.comВидеоAssessment 4ЗаданиеFull Course Practice AssessmentЗаданиеFull Course AssessmentЗадание