Python API Development with FastAPI

Introduction

Introduction

Hello everyone, I’m Sanjeev Thiyagarajan, and I’ll be your guide in this lesson on building APIs with Python’s FastAPI framework. In this session, we’ll explore how to create high-performance APIs, interact with a PostgreSQL database for reading and writing operations, and implement robust authentication using JSON Web Tokens for user sign-up and login functionalities.

In addition, you’ll learn how to:

  • Test your APIs with Pytest
  • Manage database migrations
  • Deploy your applications on platforms like an Ubuntu server and Heroku
  • Dockerize your application to ensure seamless operation within a Docker container
  • Build a CI/CD pipeline for automated testing and deployment

The image shows a person in front of a microphone with a list of topics related to FastAPI and application development, such as "Common Conventions" and "Database Migration."

Note

If you’re new to API development or the FastAPI framework, this lesson is designed to guide you step-by-step through each component, ensuring you have all the necessary skills to build, test, and deploy a robust API.

By the end of this lesson, you will have a comprehensive understanding of:

  • Building scalable and secure APIs with FastAPI
  • Integrating PostgreSQL for data operations
  • Implementing authentication and authorization mechanisms
  • Leveraging Docker and CI/CD pipelines for streamlined development and deployment

Let’s dive in and explore the exciting world of FastAPI development!

Watch Video

Watch video content