Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Create an API with Python | Django | MySQL | REST Framework
Highest Rated
Rating: 4.5 out of 5(96 ratings)
5,997 students
Last updated 3/2026
English

What you'll learn

  • How to create and activate a virtual environment
  • How to install Django in a virtual environment
  • How to install Django REST Framework
  • How to create a Django project and app
  • How to setup MySQL Database with Django
  • How to create Models
  • How to create model objects
  • How to create and run migrations
  • How to create a Serializer Class
  • How to create views
  • How to map views to URLS
  • How to use Django REST framework to process HTTP Request
  • How to test API by creating CRUD operations using Postman

Course content

7 sections28 lectures2h 23m total length
  • Introduction0:31
  • Installing Python3:04
  • Create and activate a virtual environment5:19
  • Installing Django2:49
  • Installing REST Framework1:05

Requirements

  • Basic knowledge of Python
  • Basic knowledge of Django
  • Basic knowledge of MySQL

Description

API stands for Application Programming Interface.

An API is a software intermediary that allows two applications to talk to each other. In other words, an API is the messenger that delivers your request to the provider that you're requesting it from and then delivers the response back to you.

When we are building APIs, we want our models to provide four basic types of functionality. The model must be able to Create, Read, Update,and Delete resources.


In this course, we are going to build an API using the following technology:

  • Python

  • Django

  • Django Rest Framework

  • MySQL

  • mysqlclient adapter

  • django-cors-headers


What You Will Learn :

  • How to Create and activate a virtual environment

  • How to install Django

  • How to install Django REST Framework

  • How to Create a new Django Project

  • How to Create a new Django App

  • How to register applications with Django

  • How to setup  MySQL Database with Django

  • How to create and run Migrations

  • How to Create a Django Model

  • How to define Data Models and migrate it to MySQL

  • How to Create and apply a new migration

  • How to Create a serializer class

  • How to Create views

  • How to Map views to URLs

  • How to Create Model Objects

  • How to test API with CRUD Operations

  • How to use Django Rest Framework to process HTTP requests

  • How to create CRUD operations interacting with API using Postman

Who this course is for:

  • Beginner web developers
  • Beginner programmers
  • Beginners to API development