https://github.com/abdulrahmanalsakkaditakkad/fastapi-crud-example
A simple FastAPI project that implements a student management API with full CRUD operations using Pydantic models.
https://github.com/abdulrahmanalsakkaditakkad/fastapi-crud-example
api backend crud fastapi pydantic python swagger
Last synced: 2 months ago
JSON representation
A simple FastAPI project that implements a student management API with full CRUD operations using Pydantic models.
- Host: GitHub
- URL: https://github.com/abdulrahmanalsakkaditakkad/fastapi-crud-example
- Owner: AbdulRahmanAlsakkaDitAkkad
- License: mit
- Created: 2025-04-20T12:50:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-20T12:53:42.000Z (about 1 year ago)
- Last Synced: 2025-04-23T19:23:27.201Z (about 1 year ago)
- Topics: api, backend, crud, fastapi, pydantic, python, swagger
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ง FastAPI Student Management API
This is a beginner-friendly FastAPI project that implements a simple student management API. It supports full CRUD operations and uses Pydantic for request validation.
## ๐ Features
- โ
Create, read, update, and delete students
- โ
Uses FastAPI and Pydantic
- โ
Auto-generates Swagger docs at `/docs`
- โ
Clean and easy-to-understand code
## ๐งช Sample Endpoints
- `GET /get-student/{student_id}`
- `POST /create-student/{student_id}`
- `PUT /update-student/{student_id}`
- `DELETE /delete-student/{student_id}`
## ๐ฆ How to Run
```bash
pip install fastapi uvicorn
uvicorn myapi:app --reload