Inflearn brand logo image
Inflearn brand logo image
Inflearn brand logo image
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) 43 reviews

655 learners

  • dooleyz3525
이론 실습 모두
블로그만들기토이프로젝트
파이썬개발자
파이썬프레임워크
Python
FastAPI
SQL
SQLAlchemy

Reviews from Early 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 reach thanks to strong support from the developer community.


Why FastAPI?

1. Excellent performance

FastAPI, which follows ASGI standards, processes requests asynchronously, offering the fastest performance among Python web frameworks. Fast response times are essential for today's large-scale applications that must accommodate numerous users simultaneously.

2. Intuitive design for developers

FastAPI is designed to help developers work more efficiently and productively. Its intuitive internal API, dependency injection functionality, unified type hints, and automatically generated OpenAPI documentation minimize errors during development and dramatically accelerate projects.

3. Convenient data processing and verification

FastAPI is fully integrated with Pydantic, safely and precisely handling data validation, serialization, and parsing. This enables 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 excels in I/O-bound operations, such as databases and external APIs, enabling the building of fast, highly responsive applications.

FastAPI is not difficult - with this lecture,

Systematic learning from FastAPI's core components to advanced concepts

We'll help you master the fundamentals of FastAPI, covering asynchronous programming, middleware handling, and advanced authentication techniques, offering step-by-step learning suitable for both beginners and experienced users.


Especially when developing a blog application

Starting with basic functions, you can gradually enhance your application and naturally learn various technologies related to FastAPI.


Learning through various practical examples

The course consists of 25% theory and 75% practical training, and the curriculum is filled with various hands-on classes to help you naturally learn FastAPI from the basics to expert-level functions.

Most of the hands-on classes are conducted through live coding . By following the videos step-by-step, you'll find yourself confidently working with 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 requires reliable database resource protection. We'll detail key elements of operation mechanisms like connection pooling, connections, and cursors, as well as 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 applications

This course will teach you how to develop a blog application. Starting with basic functions, you'll gradually enhance the application, naturally acquiring a variety of FastAPI-related skills through hands-on practice.

3. Detailed explanation and practice for understanding Pydantic

To effectively use FastAPI, an understanding of Pydantic is essential. This course not only explains and practices Pydantic itself, but also provides precautions for applying Pydantic to FastAPI and troubleshooting solutions for errors.

4. Building dynamic web pages using the Jinja2 template engine

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

5. Powerful error handling and exception management techniques

Learn the exception handling features provided by FastAPI to prepare for various exceptional situations and learn how to improve the stability of your applications. You'll also learn common error handling patterns to improve code maintainability.

6. Handling Middleware

In addition to applying the middleware provided by FastAPI, you'll learn how to create your own custom middleware. By creating custom middleware, you'll not only gain an understanding of the internal structure of middleware, but also gain the ability to implement FastAPI's extensions yourself.

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

Learn how to design a secure authentication system, manage sessions using Redis, and implement signed cookies, enabling you to build robust web applications that can handle high-volume traffic.

This course does not cover ORM .

While this course contains extensive hands-on material on database CRUD, it does not cover Object-Relational Mapping (ORM) . CRUD is performed solely using SQL . Please keep this in mind when selecting a course.

Things to note before taking the course

Practice Environment 💾

Practice environment

  • Operating System (OS): This tutorial will be conducted on a Windows operating system, but it can also be performed on a Mac. Any environment that can install VSCode, FastAPI, MySQL, and Redis is sufficient.


  • PC specifications: PC with basic specifications capable of Internet access

Learning Materials

  • Lecture materials can be downloaded within the lecture.

  • You can download the practice materials from https://github.com/chulminkw/fastapi_pguide . By reviewing the practice code, you can get a sense of the Python level required for 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

25,917

Learners

1,275

Reviews

3,959

Answers

4.9

Rating

13

Courses

(전) 엔코아 컨설팅

(전) 한국 오라클

AI 프리랜서 컨설턴트

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

Curriculum

All

164 lectures ∙ (25hr 8min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

43 reviews

4.9

43 reviews

  • tofaye221846님의 프로필 이미지
    tofaye221846

    Reviews 2

    Average Rating 5.0

    5

    100% enrolled

    The content was also rich and it was a lecture that was just right for me. Since I have to process everything with RAW SQL, it was better because ORM was not covered. While listening to the lecture, it took quite a while to proceed while creating each endpoint that I would actually use. Thank you, instructor. For reference, for those who use a Windows package management tool such as scoop, the latest version of redis 7.4.1 is packaged, so you can install it in one line without complex WSL settings. You don't have to install the old version of 3.0. https://github.com/redis-windows/redis-windows I hope this was helpful to those who are listening to the lecture.

    • dooleyz3525
      Instructor

      Oh, thank you for the long review. And thank you for the good info on Windows Redis.

  • linsay0703576님의 프로필 이미지
    linsay0703576

    Reviews 14

    Average Rating 4.9

    Edited

    5

    87% enrolled

    I took the Kafka lecture very profitably and chose it without hesitation. My choice was not wrong. I was able to learn about the overall web by not focusing only on the Fast API framework, but by adding various concepts and elements necessary for web development in between. Even at this point, Django is more active, but it was an excellent choice for the future, and I expect that there will be an explosive synergy when the teacher's true value, machine learning - deep learning lectures, come out in the future. I will wait. Thank you.

    • leejken5305874님의 프로필 이미지
      leejken5305874

      Reviews 13

      Average Rating 4.2

      5

      27% enrolled

      It's fun and I like that you answer questions quickly. I plan to listen to other lectures as well.

      • tiaz0128님의 프로필 이미지
        tiaz0128

        Reviews 6

        Average Rating 5.0

        5

        21% enrolled

        It's good because I can organize a lot of content quickly. I studied FastAPI on various platforms and read books, but this was the easiest to understand and learn properly. I was a little worried because there was a lot of live coding. I thought, 'Wouldn't it be boring?', but it was easier to understand because the prepared logic was quickly recoded and explained. In the previous review, you said that the microphone was a bit problematic, but it was improved and not very inconvenient. It's a little disappointing that ORM is missing. I really want to hear what you think about ORM and how to use it well. I really hope the next backend in-depth lecture comes out!

        • dooleyz3525
          Instructor

          Oh, thank you for the great review. And thank you for taking the time to write such a long review. ORM is extremely polarizing, so I am cautious about my personal opinion. As I mentioned briefly in the lecture, if you have some experience with DB, I think it is a personal choice whether to use ORM or not. However, if you do not have much experience with DB, I think it is absolutely necessary to use SQL directly rather than ORM. If you need more of my personal opinion, please post a question in Q&A and I will give you more additional answers. Thank you.

      • mihoke1856님의 프로필 이미지
        mihoke1856

        Reviews 1

        Average Rating 5.0

        5

        30% enrolled

        $59.40

        dooleyz3525's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!