A production-grade machine learning model serving API built with FastAPI.
- JWT authentication
- Async PostgreSQL with SQLAlchemy
- Redis caching
- Docker + CI/CD ready
git clone https://github.com/ilkinism/ml-api-project
cd ml-api-project
pip install -r requirements.txt
uvicorn app.main:app --reload| Method | Endpoint | Description | Auth |
|---|---|---|---|
| POST | /api/v1/login | Get JWT token | No |
| POST | /api/v1/predict | Run ML prediction | Yes |
| GET | /health | Health check | No |