Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

🚀 FastAPI for Machine Learning: End-to-End Course

Welcome to the official repository for the FastAPI for Machine Learning course! This comprehensive 20–22 hour course walks you through building powerful, production-ready APIs using FastAPI, with a special focus on deploying Machine Learning models. You’ll learn from API basics to deployment using modern DevOps practices.


📚 Course Overview

This course is designed to help data scientists, backend developers, and AI engineers build real-world ML-powered APIs using FastAPI and deploy them efficiently. We go beyond the basics by incorporating Redis, Docker, JWT, Prometheus, Grafana, and Render.


🧭 Course Modules

ModuleTitleDescription
1️⃣Introduction to APIsWhat are APIs, how REST works, HTTP methods, status codes, and best practices.
2️⃣Introduction to FastAPIFastAPI essentials, comparison with Flask, type hinting, async support, and Pydantic.
3️⃣Building Basic APIsCreating routes, Request/Response Models, Query & Path parameters, and Validations.
4️⃣Database IntegrationSQL integration using ORMs/ODMs.
5️⃣Machine Learning Model IntegrationLoad and serve ML models.
6️⃣Advanced FastAPI ConceptsDependency injection, JWT authentication, API key management, Middlewares, and Error Handling.
7️⃣Testing and DebuggingWriting unit & integration tests with pytest, debugging tips, and FastAPI’s Swagger UI.
8️⃣Performance Optimization and MonitoringCaching with Redis and Monitoring with Prometheus & Grafana.
9️⃣Capstone ProjectA complete Car Price Prediction ML API — with auth, caching, logging, monitoring, and deployed using Docker & Render.

🛠️ Tech Stack

  • 🐍 Python
  • FastAPI
  • 🔐 JWT Authentication
  • 🧪 Pytest
  • 🧠 Scikit-learn
  • 🛢️ SQL
  • 🧰 Docker & Docker Compose
  • 🔁 Redis
  • 📊 Prometheus + Grafana
  • ☁️ Render Deployment

💻 Capstone Project

🎯 Car Price Prediction API — A fully production-ready API that includes:

  • JWT-based login and API key access
  • ML prediction endpoint with Redis caching
  • Prometheus monitoring & Grafana dashboard
  • Custom exception handling
  • Modular project structure and Docker deployment
  • Deployed on Render

👉 Find the project code in this repository


🚀 Getting Started

1. Prerequisites

  • Python
  • Git
  • Docker (optional)

2. Clone the Repo

git clone https://github.com/your-username/fastapi-course.git
cd fastapi-course

关于 About

Codes realated to Fastapi course

语言 Languages

Jupyter Notebook84.1%
Python15.7%
Dockerfile0.2%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
0
Total Commits
峰值: 1次/周
Less
More

核心贡献者 Contributors