Minimal RESTful CRUD API built with FastAPI
Simple • Containerized • Developer-friendly • GitOps
CRUDIFY is a lightweight RESTful API implementing basic Create, Read, Update, Delete (CRUD) operations using * FastAPI*.
The project focuses on demonstrating:
- RESTful API design
- FastAPI fundamentals
- structured backend development
- containerized environments using Docker
- Introduced CI/CD pipeling
The codebase is intentionally minimal and easy to extend.
- Create records
- Retrieve records
- Update records
- Delete records
- Input validation with Pydantic
- Structured error handling
- Docker containerization
- Docker Compose orchestration
- CI/CD pipeline
| Layer | Technology |
|---|---|
| Backend Framework | FastAPI |
| Server | Uvicorn |
| Validation | Pydantic |
| Containerization | Docker |
| Orchestration | Docker Compose |
| API Testing | Postman |
| CI/CD | GitHub Actions |
Build and start the containers:
docker-compose up --buildThe API will be available at:
http://0.0.0.0:8000
Install dependencies:
pip install --no-cache-dir -r requirements.txtStart the development server:
uvicorn main:app --reload --port 8000FastAPI automatically generates interactive documentation.
Swagger UI
http://0.0.0.0:8000/docs
ReDoc
http://0.0.0.0:8000/redoc
- Pagination & filtering 🔃
- Rate limiting 🔃
- Caching layer ✅
- Unit & integration testing ✅
- Dockerization ✅
- CI/CD pipeline ✅
Thank you ❤️