Subscribe If you found this helpful: https://dub.sh/TheCodingShield_sub
Creating APIs with FastAPI is incredibly simple and fun! In my opinion it's WAY more intuitive than attempting to create them with flask or Django (Though they are more mature). In this video I take a brief look at what it will take to create a VERY simple API (A slightly more complex version is in the works)
Docs
UV Docs: https://docs.astral.sh/uv/
Fastapi Docs: https://fastapi.tiangolo.com/
Chapters
00:00: Intro to FastAPI
01:16: Project Installation
02:46: Importing Libraries
05:05: Creating FastAPI App
06:23: Creating Home Route
09:38: Creating Student Model
10:10: Creating Dummy Database
12:12: GET All Students
13:15: GET Student by ID
15:25: Running the Server
16:10: Testing API Docs
18:14: POST Request
21:28: PUT Request
31:10: DELETE Request