Free Course Image Python Fast API

Free online coursePython Fast API

Duration of the online course: 1 hours and 34 minutes

5

StarStarStarStarStar

(4)

Build REST APIs with FastAPI and Python, from setup to PostgreSQL integration. Free course to practice GET/POST/PUT/DELETE, validation and status codes.

In this free course, learn about

  • What APIs are, what they do, and how clients/servers communicate
  • Setting up Python in VS Code and prerequisites to run Python projects
  • Creating and using virtual environments; why isolation matters
  • Starting a FastAPI app; understanding server options like auto-reload
  • Using Postman: install on Windows and send common HTTP request types
  • Building GET endpoints in FastAPI; routing and path conflict behavior
  • Implementing POST endpoints; core differences between GET and POST
  • Schema validation with FastAPI/Pydantic for request and response data
  • Implementing DELETE and assigning unique IDs to resources (posts)
  • Using response status codes correctly, including what 204 No Content means
  • Implementing PUT for updates and understanding PUT’s purpose
  • Installing PostgreSQL and pgAdmin; using pgAdmin to manage the database
  • Connecting FastAPI to PostgreSQL to persist data across server restarts
  • Performing DB operations and using SQL commit to save transactions

Course Description

Learn to build modern backend services by creating real REST APIs with Python and FastAPI. This free online course guides you from the first concept of what an API is to the moment your application can persist data in a PostgreSQL database. Along the way, you will practice the essentials that backend developers use daily: designing endpoints, handling requests safely, validating input, returning clear responses, and testing everything with the right tools.

You start by setting up a productive development environment in Visual Studio Code and understanding what you need to run Python reliably. From there, you create a virtual environment so each project stays clean, repeatable, and easy to share. Once the FastAPI app is running, you see how a development server behaves, why hot reload speeds up iteration, and how routing works when multiple functions compete for the same path.

As you build your API, you will work with common HTTP methods and learn when to choose each one. You will create endpoints for reading, creating, updating, and deleting resources, while also learning the practical difference between GET and POST, and the purpose of PUT for updates. To make your API more professional, you will apply schema validation so your application can reject bad data early and consistently, reducing bugs and making behavior predictable for clients.

Testing becomes second nature as you use Postman to send requests and inspect responses. You will interpret HTTP response status codes to communicate outcomes clearly, including what it means when a response intentionally has no content. Finally, you will connect your API to PostgreSQL and manage the database using pgAdmin. With database operations and proper commits, your data survives server restarts and your API moves closer to production-ready behavior.

By the end, you will have the confidence to spin up a FastAPI project from scratch, structure endpoints sensibly, and connect persistent storage, giving you a strong foundation for backend development, portfolio projects, and further learning in Python web services.

Course content

  • Video class: What is an API? - Python FASTAPI Tutorial 1

    03m

  • Exercise: What does an API do?

  • Video class: How To Setup Python in Visual Studio Code

    02m

  • Exercise: What is needed to run Python in Visual Studio Code?

  • Video class: Creating A Virtual Environment - Python FASTAPI Tutorial 2

    03m

  • Exercise: Why is a virtual environment important in Python projects?

  • Video class: Starting FASTAPI - Python FASTAPI Tutorial 3

    10m

  • Exercise: What is the purpose of the 'reload' command in a server setup?

  • Video class: How To Download POSTMAN on windows?

    02m

  • Exercise: What types of HTTP requests can be made using Postman?

  • Video class: HTTP Get Request - Python FASTAPI Tutorial 4

    07m

  • Exercise: What happens when multiple functions handle the same GET request path?

  • Video class: HTTP Post Request - Python FASTAPI Tutorial 5

    09m

  • Exercise: What is the main difference between HTTP GET and POST methods?

  • Video class: Schema Validation - Python FASTAPI Tutorial 6

    14m

  • Exercise: What is the result of sending a GET request with an empty path to the server?

  • Video class: HTTP Delete Request - Python FASTAPI Tutorial 7

    07m

  • Exercise: How is a unique ID assigned to each post in the server program?

  • Video class: HTTP Response Status Codes - Python FASTAPI Tutorial Lesson 8

    06m

  • Exercise: What does HTTP status code 204 indicate in server responses?

  • Video class: HTTP Put Method - Python FASTAPI Tutorial Lesson 9

    06m

  • Exercise: What is the purpose of an HTTP PUT request?

  • Video class: How To Install PostgreSQL pgAdmin on windows?

    02m

  • Exercise: Which program is used to manage the PostgreSQL database in the video?

  • Video class: PostgreSQL Connection - Python FASTAPI Tutorial Lesson 10

    05m

  • Exercise: What solution eliminates data loss on server restart in a FastAPI project?

  • Video class: PostgreSQL Database Operation - Python FASTAPI Tutorial Lesson 11

    11m

  • Exercise: What is the purpose of the 'commit' function in SQL operations?

This free course includes:

1 hours and 34 minutes of online video course

Digital certificate of course completion (Free)

Exercises to train your knowledge

100% free, from content to certificate

Ready to get started?Download the app and get started today.

Install the app now

to access the course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

QR Code - Download Cursa - Online Courses

Course comments: Python Fast API

A

Anishkumar

StarStarStarStarStar

good easy to practice

IT

Ishwar Talokar

StarStarStarStarStar

Awesome contents.

More free courses at Backend development

Free Ebook + Audiobooks! Learn by listening or reading!

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate