This repository contains my own structured learning and practice with FastAPI.
Each section represents a milestone I’ve completed, from setup to authentication.
- ⏳ Break it down
- ⏳ Path Parameters
- ⏳ Query Parameters
- ⏳ Request Body
- ⏳ Debugging
- ⏳ Pydantic Schemas
- ⏳ Database Connection
- ⏳ Create Model and Tables
- ⏳ Store blog to database
- ⏳ Get blog from database
- ⏳ Exception & Status Code
- ⏳ Response Model
- ⏳ Create User
- ⏳ Hash Password
- ⏳ Show User
- ⏳ Relationship
- ⏳ API Router
- ⏳ API Router Path Operators
- ⏳ Blog & User Repository
- ⏳ Login & Verify Password
- ⏳ JWT Access Token
- ⏳ Route behind Authentication
- Clone this repository:
git clone https://github.com/your-username/your-repo-name.git
- Navigate into the project folder:
cd your-repo-name
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # for Linux/Mac
venv\Scripts\activate # for Windows
- Install dependencies:
pip install -r requirements.txt
- Run the FastAPI server:
uvicorn main:app --reload