FastAPI Practice
A simple implementation of FastAPI in Python using CRUD operations.
Details
- Developing based on the tutorial FastAPI Course for Beginners on the freeCodeCamp YouTube Channel by Code With Tomi.
- Understanding how to use CRUD operations with a "classroom" of students using FastAPI in Python.
- Uses Uvicorn as the "lightning fast ASGI server implementation."
Built With
How to Use
- Fork the repository.
- Clone the repository to your local environment using the terminal command
git clone https://github.com/<YOUR_USERNAME>/fastapi-practice.git cdinto your cloned folder- Initialize your virtual environment with
python -m venv venv - Activate your virtual environment
- Windows:
venv\Scripts\activate - Git Bash:
source venv\\Scripts\\activate
- Windows:
- Install all local packages from the requirements.txt using
pip install -r requirements.txt - Run the local uvicorn server with
uvicorn myapi:app --reload, where "myapi" is your .py filename. - Check out your local api server! Normally it's at
https://localhost:8000, and you can check an interactive docs athttps://localhost:8000/docs
Want to learn more about how to work with FastAPI? Check out the links in the Details section.
Contributors
Contact
Mueez Khan - @rzmk
Project Link: https://github.com/rzmk/fastapi-practice
On this page
Created August 17, 2021
Updated February 6, 2026
