Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Flutter & Django: Build a Full-Stack AI E-Commerce App
Rating: 3.0 out of 5(1 rating)
24 students

Flutter & Django: Build a Full-Stack AI E-Commerce App

Production app with BLoC, Stripe payments, CLIP visual search, LangChain AI agent & Firebase push notifications.
Last updated 5/2026
English
English [Auto],

What you'll learn

  • Build a Django REST backend with JWT auth, Stripe webhooks, Celery tasks and a LangChain AI agent from scratch
  • Structure a Flutter app using Clean Architecture — Domain, Data and Presentation layers across 8 full features
  • Implement BLoC state management for every feature including auth, catalog, cart, orders, payments and notifications
  • A working AI chat agent powered by LangChain and WebSockets
  • Integrate Stripe payments end-to-end — PaymentIntent, Flutter Payment Sheet, webhooks and refund handling
  • Integrate Stripe payments end-to-end — PaymentIntent, Flutter Payment Sheet, webhooks and refund handling
  • Build AI visual search using CLIP embeddings and pgvector with sub-500ms cosine similarity search in PostgreSQL
  • Create a real-time LangChain AI chat agent over WebSockets that searches products and tracks orders in natural language
  • Set up Firebase push notifications with Celery Beat — order alerts, price drops, campaigns and quiet hours
  • Test every backend API endpoint with Postman before writing a single line of Flutter UI code

Course content

10 sections • 378 lectures • 95h 47m total length
  • Flutter App Walkthrough12:40

    Learn to build a full-stack ai e-commerce app with Flutter and Django, featuring onboarding, catalog filtering, image search with vector database, cart, checkout with Stripe, orders, and in-app support chat.

  • Backend Admin Panel Walkthrough10:02

    Explore the admin dashboard through a walkthrough to see the available paths and what you'll build in each backend component.

  • Setting Up the Django Backend: Virtual Env, Project Structure & Dependencies12:38

    Set up the Django backend by configuring a Python virtual environment, installing PostgreSQL and Redis, and preparing pgvector, then establish project structure and dependencies for a full-stack e-commerce app.

  • Setting Up the Django Backend: Virtual Env, Project Structure & Dependencies6:33

    Set up the Django backend by creating a backend folder, a virtual environment, a Django project and an accounts app, and installing Django REST framework and simple JWT for authentication.

  • Django Settings Configuration: Environment Variables with environ& .env21:55

    Install and load the .env file to manage environment variables, configure secret key, debug, and hosts, then set up PostgreSQL settings and REST framework with JWT and CORS.

  • Custom User Model in Django: AbstractBaseUser & UserManager Setup14:34

    Extend Django's abstract base user and manager to create a custom user model using UUID as the primary key and email as the username, with create_user and create_superuser.

  • Extending the User Model: Profile Fields, Choices & Model Relationships10:47

    Extend the user model by implementing a profile with a one-to-one relationship, an avatar field, and configurable fields for size system, currency, language, and gender.

  • Completing the Accounts Models: Address Model & Database Design16:39

    Develop account models with a json style preferences field, fcm token, and height and weight fields. Build an address model using UUIDs, a user foreign key, and default handling.

  • DRF Serializers for Authentication: Registration, Login & Address Serializers12:48

    Explore building drf serializers for authentication: user, registration, login, profile, and address, with nested serialization, read-only fields, and email validation.

  • Service Layer Pattern in Django: Account Service & Registration View14:45

    Apply a Django service-layer pattern to account registration via a registration view, with views handling requests and responses using the rest framework and serializers.

  • JWT Authentication Views: Login, Token Refresh & Logout with SimpleJWT15:00

    Create a login api view (post) with simplejwt to issue refresh tokens, authenticate users, and return profile data, while supporting profile get/patch and an endpoint to update FCM tokens.

  • Address Management API: CRUD Views & Services for User Addresses18:00

    Explore address management in a full-stack app by building API views for listing, creating, retrieving, updating, and deleting user addresses, with authenticated access and service-layer helpers.

  • Completing the Accounts API: URL Configuration & API Router Setup19:56

    Completes the accounts API with URL configuration and router setup, implementing delete address and set default address, authentication endpoints, profile, FCM token, addresses endpoints, API versioning v1, and drf-spectacular docs.

  • Django Migrations & Final Settings: CORS, JWT Config & Database Setup11:25

    Configure django media and static settings, set up media routes and api documentation with spectacular, apply migrations for a custom user model, and run the dev server to test endpoints.

  • API Testing with Postman: Auth Endpoints — Register & Login22:25

    Learn to set up postman environments and collections, configure base and api urls, and test auth endpoints for register and login with json requests, response validations, and token handling.

  • API Testing with Postman: Token Refresh, Logout & Profile Endpoints10:56

    Explore API testing with Postman for token refresh, logout, and profile endpoints, while setting up Django admin, creating a super user, and registering models for backend access.

  • API Testing with Postman: Address CRUD & Validating Error Responses19:16

    Test the login and token workflow with postman, including login and token refresh. Validate protected profile and address CRUD via authenticated requests, verifying status codes and updated data.

Requirements

  • Basic Flutter knowledge — widgets, setState, navigation and async/await
  • Basic Python and Django knowledge — models, views, URLs and the ORM
  • Comfort reading and writing JSON and calling REST APIs
  • No prior experience needed with BLoC, Clean Architecture, Stripe, LangChain, WebSockets, pgvector or Firebase

Description

What You'll Build

You will build a complete, production-ready AI-powered e-commerce application from absolute zero — a fully functional fashion shopping app with a Django REST backend and a Flutter mobile frontend.

This is not a toy project. By the end of this course, you will have shipped a real app with a real backend, real payments, and real AI features that most developers have never built before.

The Tech Stack

Backend (Django)

  • Django REST Framework with a clean Service Layer architecture

  • JWT authentication with SimpleJWT (register, login, token refresh, logout)

  • PostgreSQL with pgvector for AI-powered vector similarity search

  • Stripe payment processing with webhooks, refunds & payment history

  • LangChain + LLM for an AI fashion assistant agent

  • Django Channels + WebSockets for real-time chat

  • Celery + Redis for async task processing

  • Firebase Admin SDK for push notifications

  • Image optimization with WebP conversion and thumbnail generation

Frontend (Flutter)

  • Clean Architecture — Domain, Data, and Presentation layers fully separated

  • BLoC pattern for all state management across every feature

  • Retrofit + Dio for type-safe API communication with JWT interceptors

  • GetIt + Injectable for dependency injection and code generation

  • GoRouter for declarative navigation with auth guards

  • Stripe Flutter SDK with Payment Sheet integration

  • Firebase Cloud Messaging (FCM) for push notifications

  • CachedNetworkImage for performance-optimized image loading

Features You'll Build End-to-End

Authentication System Complete user registration, login, JWT token management, profile editing, address CRUD, and FCM device token registration — fully tested with Postman.

Product Catalog Category trees, product listings with filtering by price, gender, size, color and rating, product detail pages with variants, wishlist, and a full review system with ratings. Paginated results with search suggestions and filter metadata.

AI Recommendation Engine Trending products with time-decay scoring, similar product recommendations, collaborative filtering for personalized "For You" sections, and Redis-backed caching with automatic refresh.

Cart & Checkout Session-based cart with add, update, remove and clear. Multi-step checkout with address selection, shipping method selection and order placement with stock deduction in a database transaction.

Orders & Tracking Full order lifecycle management — order history, order detail, live tracking timeline, cancellation, return requests, order statistics with a spending chart, and admin status update simulation.

Stripe Payments PaymentIntent creation, Stripe Payment Sheet in Flutter, webhook handling for success/failure/refund events, partial refunds, and full payment history — all tested end-to-end.

AI Visual Search (CLIP + pgvector) Upload any product image and find visually similar items using OpenAI's CLIP model for image embeddings stored in PostgreSQL with pgvector. Includes HNSW indexing for sub-500ms search performance.

LangChain AI Chat Support Agent A real AI shopping assistant built with LangChain that understands natural language, searches products with hybrid vector + keyword search, looks up orders, and returns product cards inside the chat UI — over WebSockets in real time.

Push Notifications (Firebase FCM + Celery) Order status notifications, price drop alerts, back-in-stock alerts, promotional campaigns, quiet hours settings, per-category notification preferences, and a full notification center with deep-link routing.


Who This Course Is For

  • Flutter developers who want to go beyond basic apps and build production-grade architecture

  • Django developers looking to add a mobile frontend and AI features to their skillset

  • Full-stack developers who want hands-on experience with LangChain, pgvector, and real AI integration

  • Developers who have done beginner courses and are ready for something that reflects real-world engineering


Who this course is for:

  • Flutter developers who know the basics and want to build a real production-grade app with Clean Architecture and BLoC
  • Django developers who want to add AI features, WebSockets, Stripe payments and a mobile frontend to their skillset
  • Full-stack developers ready to integrate LangChain, pgvector, CLIP visual search and Firebase FCM into a real project
  • Developers tired of toy tutorials who want to build something they can actually put in a portfolio or ship to users