Blog

Thoughts, tutorials, and insights on engineering and programming.

Serving Machine Learning Models with FastAPI: Build a Prediction API — Part 8

Serving Machine Learning Models with FastAPI: Build a Prediction API — Part 8

Learn how to serve a trained machine learning model with FastAPI, prepare features from user input, generate real-time predictions, and connect the API to a Streamlit frontend.

Tutorial
FastAPI
Python
Pydantic
Pydantic
Streamlit
Streamlit
Sep 9, 2026
PUT & DELETE Requests in FastAPI: Complete CRUD Operations — Part 7

PUT & DELETE Requests in FastAPI: Complete CRUD Operations — Part 7

Learn how to update and delete existing resources with FastAPI and complete the CRUD operations of a Patient Management System.

Tutorial
FastAPI
Python
Pydantic
Pydantic
Sep 8, 2026
POST Requests in FastAPI: What is a Request Body? — Part 6

POST Requests in FastAPI: What is a Request Body? — Part 6

Learn how FastAPI handles request bodies, accepts structured data through POST requests, validates it with Pydantic, and creates new resources.

Tutorial
FastAPI
Python
Pydantic
Pydantic
Sep 7, 2026
Pydantic Crash Course: Data Validation in Python — Part 5

Pydantic Crash Course: Data Validation in Python — Part 5

Learn how Pydantic creates type-safe data models, validates input automatically, and handles advanced validation, nested models, computed fields, and serialization.

Tutorial
FastAPI
Python
Pydantic
Pydantic
Sep 6, 2026
Path & Query Parameters in FastAPI: Build Flexible APIs — Part 4

Path & Query Parameters in FastAPI: Build Flexible APIs — Part 4

Learn how to use path parameters, query parameters, HTTP status codes, and error handling to build more flexible FastAPI endpoints.

Tutorial
FastAPI
Python
Sep 5, 2026
HTTP Methods in FastAPI: GET, POST, PUT & DELETE — Part 3

HTTP Methods in FastAPI: GET, POST, PUT & DELETE — Part 3

Understand how HTTP methods work, how clients communicate with servers, and how GET, POST, PUT, and DELETE map to CRUD operations in FastAPI.

Tutorial
FastAPI
Python
Sep 4, 2026
How to Set Up FastAPI: Build Your First Python API — Part 2

How to Set Up FastAPI: Build Your First Python API — Part 2

Learn how FastAPI works under the hood, set up your first application, run it with Uvicorn, and explore its automatic API documentation.

Tutorial
FastAPI
Python
Sep 3, 2026
What is an API? A Beginner’s Guide for ML Engineers — Part 1

What is an API? A Beginner’s Guide for ML Engineers — Part 1

APIs are the bridge between applications, backend systems, databases, and machine learning models. Let’s understand how they work before building one with FastAPI.

Tutorial
FastAPI
Python
Sep 1, 2026

"Simplicity is the soul of efficiency."

— Austin Freeman

Currently Building

Synaptic RAG Platform

About

Shubham Nagar
Shubham NagarFull Stack AI Engineer

Full Stack AI Engineer with 3+ years experience building production-ready web apps. From Next.js frontends to LangChain RAG pipelines, I care about code quality and crafting architectures that scale.

Designed & Built by Shubham Nagar. © 2026 All rights reserved.

Built with Next.js • TypeScript • Tailwind • MDX • Vercel