Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
FastAPI & Python Build a CRUD API with Multiple Image Upload
168 students
Created byFahim Ahamed
Last updated 7/2025
English

What you'll learn

  • Build a Production-Ready CRUD API with FastAPI & Python from scratch
  • Handle Multiple Image/File Uploads (PNG, JPG, etc.) with proper validation and storage
  • Integrate Databases using SQLModel (SQLite/PostgreSQL) for efficient data management
  • Implement RESTful API Best Practices (GET, POST, PUT, DELETE endpoints)

Course content

1 section8 lectures1h 47m total length
  • Introduction4:19

    Set up a personal environment, install FastAPI and uvicorn, and create a simple api in main.py with a get route that returns a hello message, then run uvicorn to serve.

  • Creating Our First Api4:19

    Create your first API with FastAPI by setting up a virtual environment, installing FastAPI and uvicorn, writing a simple main.py with a root route, and running the server.

  • Set up The database With PostgresSql5:59

    Set up a Postgres database for a FastAPI CRUD API by creating db.py, configuring engine and session, initializing the database, and connecting via the main module.

  • Creating Our first Product Api Endpoint for Creating Products with Images4:19

    this lecture guides you through building your first product API endpoint with images using FastAPI and uvicorn, including setting up a virtual environment, creating main.py, and running the server.

  • create product46:02

    Create a product api in fastapi and python with support for uploading images. Enforce file validation, extension checks, and safe path joining using sqlmodel models and uploads.

  • GetAllProduct10:52

    Learn how to implement a get all products endpoint in a FastAPI and Python CRUD API, supporting multiple image uploads.

  • update product19:48

    Learn to build a FastAPI and Python CRUD API to update products with multiple image uploads.

  • Delete Product12:07

    Delete a product in a FastAPI and Python CRUD API that supports multiple image uploads, showcasing practical data deletion within a scalable web service.

Requirements

  • I'll guide you step-by-step through the entire process of installing and setting up all the necessary software, ensuring you're fully equipped to start building right away.

Description

Want to build blazing-fast APIs with Python? This hands-on FastAPI course teaches you how to create a production-ready CRUD API with multiple image uploads, database integration, and secure authentication—step by step.

By the end, you’ll be able to:
Build a complete REST API with FastAPI & Python
Handle multiple file/image uploads efficiently
Store & retrieve images using SQL databases (PostgreSQL/SQLite)
Implement CRUD operations (Create, Read, Update, Delete)
Add JWT authentication for secure API endpoints
Optimize performance with async programming
Deploy your API to Docker, AWS, or Render (ready for production)

Why This Course?

Project-Based Learning – Build a real-world API (e.g., e-commerce product API, blog with images)
Best Practices – Learn proper API design, error handling, and security
Database Integration – Work with SQLModel, SQLAlchemy, and PostgreSQL
File Storage – Upload, store, and serve multiple images/files
Deployment Ready – Dockerize & deploy your API to the cloud

Who Is This For?

Python developers who want to master FastAPI
Backend engineers learning REST API development
Full-stack devs who need image/file handling in their apps
Anyone looking to build scalable, modern APIs

Tools & Tech You’ll Use:

  • FastAPI (Python’s fastest web framework)

  • SQLModel

  • PostgreSQL/SQLite (Database storage)




Bonus Content:

Downloadable source code for every section
codes for FastAPI & SQLModel


FastAPI CRUD API,

FastAPI file upload tutorial,

Build a product API with images

FastAPI SQLModel PostgreSQL

Who this course is for:

  • Beginner Web Developers
  • Zero to API Hero – No prior FastAPI experience needed! Basic Python required