An open API service indexing awesome lists of open source software.

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.

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