Learn how to build a complete full-stack web application using FastAPI, a modern, fast, web framework for building APIs with Python 3.7+. This comprehensive tutorial covers everything you need to know, from setting up your development environment in VS Code to deploying a full-stack web app.
What you will learn:
Setting up your FastAPI project in VS Code
Building a server and creating GET, POST, PUT, and DELETE API endpoints
Using Pydantic for data validation and fetching all products
Integrating a database with SQLAlchemy
Creating, updating, and deleting data in the database
Deploying and running a full-stack web application
This video is perfect for beginners and intermediate developers looking to master FastAPI and build robust, high-performance web applications.
00:00:00 - Intro to FastAPI
00:06:48 - FastApi Setup in VS Code
00:19:46 - Building the Server and Get API
00:34:14 - Pydantic and Fetching all products
00:46:21 - Fetch by ID and post request
00:54:56 - Update and Delete data in FastAPI
01:04:33 - SQLAlchemy
01:12:48 - Database Config
01:21:46 - SQL Alchemy Model Creation
01:28:38 - Initialize Data
01:35:14 - Dependency Injection and fetch from db
01:42:38 - Create, Update and delete with Database
01:52:59 - Running Full Stack Web App
Project Code : https://github.com/navinreddy20/fastapi-demo
(explore different branches)
Check out our courses:
Agentic AI with Java : Live Cohort : https://go.telusko.com/agentic-ai-with-java-cohort
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : https://go.telusko.com/learn-master
Coupon: TELUSKO10 (10% Discount)
For More Queries WhatsApp or Call on : +919008963671
website : https://telusko.com/
Udemy Courses:
Java Spring:- https://go.telusko.com/Udemyjavaspring
Java:- https://go.telusko.com/udemyteluskojava
Spring: https://go.telusko.com/udemyteluskospring
Java For Programmers:- https://go.telusko.com/javaProgrammers
Python : https://go.telusko.com/udemyteluskopython
Git : https://go.telusko.com/udemyteluskogit
Docker : https://go.telusko.com/udemyteluskodocker
Instagram : https://www.instagram.com/navinreddyofficial/
Linkedin : https://in.linkedin.com/in/navinreddy20
WhatsApp : https://go.telusko.com/whatsapp
Discord : https://discord.gg/D8hWe9BqfF