inflearn logo

FastAPI: Build APIs 3x Faster, 2x More Accurate, and 10x Faster with Python

The complete guide to building modern backend APIs with FastAPI! 🚀 This course systematically covers everything from FastAPI basics and Pydantic data validation to database integration using SQLAlchemy and Alembic migrations. Experience implementing JWT authentication/authorization security through a hands-on ToDo project, along with asynchronous processing and performance optimization. Finally, through Docker containerization and AWS deployment practice, this single course will help you grow into a backend developer ready for immediate real-world deployment!

(4.4) 10 reviews

124 learners

Level Basic

Course period Unlimited

FastAPI
FastAPI
Python
Python
SQLAlchemy
SQLAlchemy
Docker
Docker
AWS
AWS
FastAPI
FastAPI
Python
Python
SQLAlchemy
SQLAlchemy
Docker
Docker
AWS
AWS

What you will gain after the course

  • You can design and develop robust and fast REST APIs by leveraging the core features of FastAPI and Pydantic.

  • You can integrate a database using SQLAlchemy ORM and Alembic, and build a secure JWT-based authentication and authorization system.

  • You will gain the practical skills to containerize applications using Docker and directly deploy and operate them in an AWS cloud environment.

Are you wondering, "Which backend framework should I learn?" 🤔

Python's modern web framework FastAPI is loved by developers worldwide for its overwhelming performance and exceptional development productivity. However, when it comes to actually starting, it can feel overwhelming to know where and how to begin.

This course solves that exact problem. The Complete Guide to FastAPI Backend Development covers the entire process of backend development in a single roadmap—from basic API development to database integration, JWT security, and final deployment using Docker and AWS—so that anyone with basic Python knowledge can follow along.


Instead of simply listing knowledge, you will experience applying what you've learned immediately and making it your own by building a practical To-Do List project together. By the time you complete this course, you will have developed solid backend development skills to turn your own ideas into actual working services. 🚀


Features of this course

  • All-in-One Curriculum 📚 From basics to advanced topics, security, performance optimization, and real-world deployment! Experience everything from A to Z in FastAPI backend development with this single course, without the need to search through multiple lectures.

  • Hands-on Project-Based Learning 💻 This isn't a course that ends with just theory. By designing and completing a ToDo List API yourself, you'll develop the ability to solve real-world problems you'll encounter in the field.

  • A Complete Collection of the Latest Tech Stacks ✨ You will learn and utilize not only FastAPI but also the most prominent modern backend development technologies such as Pydantic, SQLAlchemy, Alembic, JWT, Docker, and AWS all at once.

  • Practical Best Practices 👍 You will learn how to write 'well-crafted' code, not just code that 'works.' We have generously included essential practical know-how, such as efficient project structures, secure password management, and systematic database schema migrations.

Recommended for these people

Beginners who know Python but are new to backend development 🙋‍♀
This is the best introductory course for those who know the basics of Python but feel overwhelmed by web development, especially building API servers. FastAPI's ease of use and automatic documentation features will lower the barrier to entry for backend development.

Developers who want to expand their tech stack with FastAPI 👨‍💻
Recommended for those who have experience with other frameworks like Django or Flask and want to learn FastAPI, which is currently in the spotlight. You can increase your competitiveness by directly experiencing the powerful performance of asynchronous processing and high development productivity.

Frontend developers dreaming of becoming full-stack 🚀
Perfect for frontend developers who want to build their own APIs to complete side projects or grow into full-stack developers by gaining backend knowledge. Since we cover deployment using Docker, you'll understand the entire development process.

After completing the course

  • After completing all the lectures, you will be able to achieve the following on your own.

    • By leveraging the core features of FastAPI, you can design and develop robust and scalable REST APIs.

    • You can freely manage databases through SQLAlchemy ORM and build a secure JWT authentication system.

    • You will gain practical experience containerizing applications with Docker and deploying and operating services on the AWS cloud.

    • You will understand the entire cycle of backend development and grow into a confident backend developer.

Here is what you will learn.

FastAPI Core and Pydantic Data Validation

  • You will understand the core principles of FastAPI, such as routing and dependency injection, and learn how to thoroughly validate incoming data through Pydantic models.


Database Integration and SQLAlchemy ORM

  • Learn how to use SQLAlchemy ORM to handle databases with Python code, and safely change and manage database schemas using Alembic.


JWT Authentication and API Security

  • Learn how to implement secure login and sign-up features using OAuth2 and JWT (JSON Web Token), and how to control API access based on roles.


Docker Containerization and AWS Cloud Deployment

  • You will practice packaging a completed application into a Docker container and deploying it to a real cloud environment, such as AWS EC2, to operate the service.

Notes before taking the course

Practice Environment

  • Prerequisites

    • Required: Basic knowledge of Python syntax is necessary. (Variables, data structures, functions, classes, etc.)

    • Recommended: Learning will be easier if you have experience with the web (HTTP, API) and terminal (CLI), but it is not a requirement.

  • Practice Environment

    • OS: Windows, macOS, and Linux are all supported.

    • Language: Python 3.10 or higher

    • Editor: VS Code (used in the lecture) or any editor of your choice

    • Other: Docker Desktop, AWS account (required for the deployment part, using Free Tier)

  • Precautions

    • This course focuses on backend development and does not cover frontend (HTML, CSS, JavaScript) code.

    • AWS deployment practice will be conducted within the Free Tier range!

    • Please always leave any questions about the lecture on the Q&A board! 😊

Recommended for
these people

Who is this course right for?

  • A beginner who knows Python but is new to the backend 🙋‍♀️

  • A developer who wants to expand their tech stack with FastAPI 👨‍💻

  • A frontend developer dreaming of becoming full-stack 🚀

Need to know before starting?

  • To take this course smoothly, a basic knowledge of Python syntax is required. It is sufficient if you are familiar with Python basics such as variables, data structures (lists, dictionaries), functions, and classes. Having a basic understanding of the web (HTTP, APIs) will be even more helpful for your learning!

Hello
This is haeyeomiso

744

Learners

25

Reviews

42

Answers

4.6

Rating

20

Courses

Nice to meet you!

I am Haeyeo, someone who explores the infinite possibilities of AI and computer science and wishes to share that journey with all of you.

During my undergraduate years, my passion for my major was so intense that I was nicknamed a 'Computer Science Addict.' I graduated at the top of my class with a major GPA of over 4.4. I then earned my Master's degree in AI from Seoul National University and further deepened my expertise through a doctoral program.

However, as I felt as much of a fascination for solving real-world problems with AI as I did for theoretical exploration, I took a break from my doctoral studies to gain valuable hands-on experience by working on AI-based LLM and video analysis projects at a startup.

Currently, I am working as an LLM project developer and PM at one of the top three conglomerates in Korea, contributing to creating positive changes that AI technology will bring to our lives. I will generously share with you the challenges I faced, the problem-solving processes I went through, and the vivid know-how I gained in the field. I will be your reliable guide on this journey into the exciting world of AI.

Inquiries and Proposals: haeyeo.open@gmail.com

More

Curriculum

All

42 lectures ∙ (13hr 15min)

Published: 
Last updated: 

Reviews

All

10 reviews

4.4

10 reviews

  • didtkdcn7890님의 프로필 이미지
    didtkdcn7890

    Reviews 3

    ∙

    Average Rating 5.0

    5

    10% enrolled

    • moljin님의 프로필 이미지
      moljin

      Reviews 16

      ∙

      Average Rating 4.8

      5

      62% enrolled

      • haeyeomiso
        Instructor

        Hello, this is instructor Haeyeo. Thanks to the incredibly valuable feedback from student moljin, I was able to identify the parts that had issues with filming. I want to express my deepest gratitude. I have conducted a comprehensive review of all 34 lessons uploaded so far, and have proceeded with re-filming. The course materials have been revised and uploaded, and for the filmed videos, the improved versions will be uploaded tomorrow morning once encoding is complete. Additionally, please note that filming content related to Docker and deployment will be uploaded this weekend. Once again, I want to express my gratitude for the valuable feedback and course review. Thank you. From instructor Haeyeo

      • I'm currently listening to the practical project section... This is something I've felt while listening to the lectures from the beginning and progressing through them... I think the lecture content does a great job of covering everything from concept organization to small details that could easily be overlooked. However, I left feedback thinking that the lecture style was a bit old. I'm grateful to hear that improved aspects will be reflected. And I'm also looking forward to the upcoming Docker and deployment-related lectures. Thank you once again for the sincere lectures. @@@ Oh, and I think it would be good to briefly explain how to reference the Notion files in the lectures in the course introduction section. When I played the practical project, I found that copying the completed code from Notion into the editor I use and actually running it while listening significantly improved my understanding of the lectures... I listened to the lecture videos with just my ears while looking at the completed code in the editor one by one and following along, which increased my understanding. I think it would be good to add such an explanation in the course introduction section. Thank you.

    • krvision4091님의 프로필 이미지
      krvision4091

      Reviews 8

      ∙

      Average Rating 4.4

      Edited

      3

      50% enrolled

      Please teach by pointing out the parts where the instructor lectures with their "live" voice,,,,,,,,,, AI narration-like voices get boring quickly, and there are limitations when listening...

      • haeyeomiso
        Instructor

        Hello, I'm instructor Haeyeo! I apologize for the inconvenience with the lecture recording and filming methods. Currently, my lecture filming process follows these steps: 1. Creating lecture materials and scripts 2. Recording audio -> Using AI correction tools to fix coughs/breathing sounds/pronunciation of 'ㅅ' sounds, etc. 3. Recording lecture screen However, due to a communication mishap with the current editor, the parts where I point to sections in the lecture have disappeared from step 3. I'm looking for a new editor and will have the entire lecture revised soon, so please keep this in mind. For the audio, I first record with my own voice in step 1, then proceed with AI correction and LUFS normalization, but it seems the correction was too strong. I will reflect on this valuable feedback to create better lectures. Thank you.

    • amybae04148768님의 프로필 이미지
      amybae04148768

      Reviews 3

      ∙

      Average Rating 5.0

      5

      31% enrolled

      • oottagiya님의 프로필 이미지
        oottagiya

        Reviews 35

        ∙

        Average Rating 3.9

        Edited

        3

        17% enrolled

        I applied for this course because it's a topic I'm interested in and am currently taking it, but I'd like to offer two suggestions for improvement. First, the current lecture audio often explains content that's not shown on the screen. No matter how hard I try to concentrate and listen, the audio content doesn't match what's displayed, so I often lose track while trying to follow the lecture. Second, programming-related courses usually provide project source code on GitHub organized by topic, but since only the relevant code is provided in the lecture notes rather than complete source files or project units, it's not easy to cross-check with the instructor's intended content.

        • haeyeomiso
          Instructor

          Hello, this is instructor Haeyeo. First, I would like to thank you for enrolling in the course. Thank you for your honest feedback. First, regarding the code, I will proceed with improvements to provide it separately in GitHub format (by August). As for the lecture videos, there was a previous issue, so I proceeded with re-recording and uploading, but it seems there are some chapters where the upload did not proceed normally. I will check this part and take immediate action. I apologize for any inconvenience caused to students and promise quick improvements. I ask for your generous understanding. Thank you. From instructor Haeyeo.

        • haeyeomiso
          Instructor

          Hello, this is instructor Haeyeo. Currently, my lecture recording method involves writing lecture materials and scripts first, then recording audio separately for the best sound quality, and filming the lecture video based on that audio. Due to this process, lecture materials are occasionally omitted during the filming/editing process, so I previously worked with the editor on improvements and re-uploaded the content. After hearing your valuable feedback, I thought there might be parts that weren't uploaded, so I compared the lecture script with the lecture materials to check, but I couldn't easily find the relevant section, so I'd like to ask for more detailed feedback from you. If it's okay with you, could you tell me which lecture section had the problem? (I compared the script and lecture materials up to lecture 7 that you've taken, but it's not easily found 😢😢) Thank you. Instructor Haeyeo

        • haeyeomiso
          Instructor

          Oh, it's been confirmed!! After checking with the editor, we found that during the editing process, some parts of the video were lost, causing those sections to be skipped. (Such as the command parts in the lecture environment setup section of Lecture 2, etc..) We only cross-checked the lecture materials and script, but didn't think there would be such issues 😢😢. Thank you once again for the feedback! We will check and fix those parts as quickly as possible! Thanks to 올막곧낼막's valuable feedback, the lecture will be able to become even better. Thank you so much :) From instructor 해여올림. + (If... if it's okay with you, we would be so grateful if you could evaluate it once more after the lecture improvement work is completed..! *bows*)

        • haeyeomiso
          Instructor

          Hello! This is instructor Haeyeo! I have re-uploaded lectures 1-42 with complete re-editing and improved audio quality by changing the audio to wav format! I uploaded them right away since it was urgent, but we will conduct additional comprehensive reviews on our end over the weekend. Regarding the source code, as you mentioned, it's currently structured assuming sequential lecture progression, where if you're using code from previous lectures, only additional/modified code is uploaded. This could be inconvenient if you're taking chapters selectively! As a solution, we considered creating a Github repository as you suggested, and I thought it would just be a matter of uploading... But there could be licensing issues or synchronization problems between lecture materials and Github code, so we're currently discussing these matters. We'll quickly review and improve this part as well. I ask for your generous understanding as a student :) + If it wouldn't be too much trouble, could you please provide another review!! 🥹 Thank you Instructor Haeyeo

      haeyeomiso's other courses

      Check out other courses by the instructor!

      Similar courses

      Explore other courses in the same field!

      Access is restricted to non-public courses.