Duration of the online course: 1 hours and 34 minutes
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.
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?
Discover free PostgreSQL courses to master database management, learn SQL, and optimize performance. Enhance your skills with expert-led tutorials and practical exercises.
Discover free Postman courses for mastering API testing. Enhance your software testing skills with hands-on tutorials and expert guidance.
Explore our free FASTAPI online course to quickly master building efficient, modern web APIs with Python.
Master Python for free with our comprehensive online courses. Dive into coding with expert-led tutorials, interactive lessons, and hands-on projects. Start now!
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 courseOver 5,000 free courses
Programming, English, Digital Marketing and much more! Learn whatever you want, for free.
Study plan with AI
Our app's Artificial Intelligence can create a study schedule for the course you choose.
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.

Free CourseBackend REST API
5h24m
25 exercises

Free CourseNodeJS complete
1h30m
12 exercises

Free CourseAPIs
4h32m
20 exercises

Free CourseDjango for Everybody
18h32m

Free CoursePython Django Full Stack Developer
14h23m
27 exercises

Free CourseREST API
4h14m
10 exercises

Free CourseAPIs for beginners
3h07m

Free CourseBackend Engineering from First Principles (HTTP, REST APIs, Postgres, Caching, Security, Scaling)
New
25h13m
20 exercises

Free CourseExpress JS Full Tutorial
New
7h57m
21 exercises

Free CourseBuild a Full-Stack Web App
New
5h10m
13 exercises
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below::.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks
Course comments: Python Fast API
Anishkumar
good easy to practice
Ishwar Talokar
Awesome contents.