인프런 영문 브랜드 로고
인프런 영문 브랜드 로고
BEST
Programming

/

Back-end

FastAPI Complete Guide

This course is designed to help you learn the core functions of FastAPI, as well as the entire process of web service development. Through this course, we will help you become a FastAPI expert developer needed in the field.

(4.9) 15 reviews

298 students

Python
FastAPI
SQL
SQLAlchemy
Thumbnail

This course is prepared for Intermediate Learners.

What you will learn!

  • Learn the core components of FastAPI

  • Handling Pydantic Models

  • Handling databases and writing stable DB handling code based on SQLAlchemy

  • Asynchronous DB Handling in SQLAlchemy

  • Handling the Jinja2 template engine

  • File Upload in FastAPI

  • Implementing MVC-based modules in FastAPI

  • Exceptions and Exception Handling Methods of Various FastAPIs

  • Handling Middleware

  • FastAPI's Authentication and Login

  • Signed Cookie based on Cookie and SessionMiddleware

  • Handling Sessions Using Redis

Faster and more convenient
Want modern web/API development?

FastAPI has grown rapidly in a short period of time and is rapidly expanding its scope with strong support from the developer community.


Why FastAPI?

1. Excellent performance

FastAPI, which follows the ASGI standard, processes requests asynchronously, providing the fastest speed among Python web frameworks. Fast response speed is essential for large-scale applications that must accommodate a large number of users at the same time today.

2. Intuitive design for developers

FastAPI is designed to help developers work more efficiently and productively. Intuitive internal APIs, Dependency Injection, unified type hints, and automatically generated OpenAPI documentation minimize errors during development and dramatically speed up projects.

3. Convenient data processing and verification

FastAPI is fully integrated with Pydantic, safely and precisely handling data validation, serialization, and parsing. This allows developers to write more efficient and reliable code, and easily handle complex data structures.

4. Infinite possibilities of asynchronous processing

FastAPI provides the ability to process multiple tasks simultaneously through asynchronous programming. It shines especially in I/O-bound tasks such as databases and external APIs, allowing you to build fast and responsive applications.

FastAPI is not difficult - with this lecture,

Systematic learning from core components of FastAPI to advanced concepts

It provides step-by-step learning suitable for both beginners and experienced users, covering the fundamental concepts of FastAPI, asynchronous programming, middleware handling, and advanced authentication techniques.


Especially when developing a Blog application

You can start with basic functions and gradually advance your application, naturally learning various technologies related to FastAPI.


Learning through various practical examples

The course consists of 25% theory and 75% practice, and the curriculum is filled with various hands-on classes so that you can naturally learn FastAPI's basics to expert-level functions.

Most of the hands-on classes are conducted through live coding . If you follow the videos step by step, you will find yourself at a level where you can confidently handle FastAPI.

It doesn't just cover FastAPI itself.
Covers the entire process of developing a web service using FastAPI.

1. Database coding techniques used at the enterprise level

Database client code is essential for stable DB resource protection. We will explain in detail the operation mechanisms such as Connection Pooling, Connection, Cursor, and key elements of how to write Python code for performance and stable database utilization.

You will also learn in depth about database manipulation and asynchronous database processing techniques using SQLAlchemy.

2. Hands-on, project-based learning through Blog Application

The course will be conducted while developing a blog application directly. Starting with basic functions, the application will be gradually improved, and various skills related to FastAPI will be naturally acquired through practice.

3. Detailed explanation and practice for understanding Pydantic

In order to handle FastAPI well, an understanding of Pydantic is essential. This lecture provides not only an explanation and practice of Pydantic itself, but also precautions to take when applying Pydantic to FastAPI and solutions for errors that occur.

4. Building dynamic web pages using the Jinja2 template engine

Learn how to improve user experience and seamlessly integrate frontend and backend by leveraging the Jinja2 template engine in FastAPI.

5. Powerful error handling and exception management techniques

Learn the exception handling features provided by FastAPI to prepare for various exception situations and learn how to improve the stability of your application. Also, learn common error handling patterns to improve the maintainability of your code.

6. Handling middleware

In addition to applying the middleware provided by default in FastAPI, you will learn how to create your own custom middleware. By creating custom middleware, you will not only understand the internal structure of middleware, but also acquire the ability to directly implement the extension functions of FastAPI.

7. Advanced Authentication and Session Management: Using Signed Cookies and Redis

Learn how to design a secure authentication system, implement session management and signed cookies using Redis, and build reliable web applications that can handle high-volume traffic.

This course does not cover ORM .

This course contains a lot of practical content on Database CRUD, but it does not cover ORM (Object-Relational Mapping) and only performs CRUD based on SQL . Please keep this in mind when choosing a course.

Things to note before taking the class

Practice Environment 💾

Practice environment

  • Operating System (OS): The lab will be conducted on a Windows operating system, but it can also be performed on a Mac without any problems. Any environment where VSCode, FastAPI, MySQL, and Redis can be installed is sufficient.


  • PC specifications: PC with basic specifications that can access the Internet

Learning Materials

  • Lecture materials can be downloaded within the lecture.

  • You can download the practice materials from https://github.com/chulminkw/fastapi_pguide . By looking at the practice code, you can estimate the Python level required for taking the course.

Player Knowledge

  • Since it covers the entire process of web development using FastAPI, beginner-intermediate or higher level Python experience is required.

  • Although much of the lab involves RDBMS CRUD, basic SQL skills are sufficient.


  • The UI uses Bootstrap, but basic knowledge of HTML is sufficient for practical understanding.

Recommended for
these people!

Who is this course right for?

  • Anyone who wants to learn FastAPI

  • For those who want to systematically learn how to implement Python-based web applications beyond simple FastAPI functions.

  • Those who want to improve the performance of existing web/APIs by utilizing asynchronous frameworks, etc.

  • Anyone who needs to transition from an existing Java, Node.js-based backend developer to a Python-based backend developer

  • If you are looking for a modern web framework with powerful performance and simple convenience features.

  • (Not covered in this lecture) Anyone looking for an asynchronous API framework for serving machine learning models

Need to know before starting?

  • Intermediate level Python skills

  • SQL basics skills

  • HTML Basics

Hello
This is 권 철민

Students

23,084

Reviews

1,060

Rating

4.9

Courses

12

(전) 엔코아 컨설팅

(전) 한국 오라클

AI 프리랜서 컨설턴트

파이썬 머신러닝 완벽 가이드 저자

Curriculum

All

164 lectures ∙ (25hr 8min)

Lecture resources

are provided.

Published: 
Last updated: 

Reviews

Not enough reviews.
Become the author of a review that helps everyone!