Build an API with Python | Django |PostgreSQL|REST Framework
4.1 (20 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
5,139 students enrolled

Build an API with Python | Django |PostgreSQL|REST Framework

Learn how to Build a REST API from scratch
New
4.1 (20 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
5,139 students enrolled
Last updated 6/2020
English
English [Auto]
Current price: $51.99 Original price: $74.99 Discount: 31% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 2 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll 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 PostgreSQL Database with Django
  • How to create and run Migrations
  • How to Create a Django Model
  • How to define Data Models and migrate it to PostgreSQL
  • How to Create a serializer class
  • How to Create views
  • How to Map views to URLs
  • How to Create Model Objects
  • How to use Django Rest Framework to process HTTP requests
  • How to create CRUD operations interacting with API using Postman
Course content
Expand all 25 lectures 01:58:39
+ Creating Django Project and Django App
3 lectures 11:41
Creating a new Django Project
05:13
Creating a new Django App
02:38
Registering Applications with Django
03:50
+ Database Setup
3 lectures 13:05
Installing PostgreSQL
05:04
Django PostgreSQL Database Setup
04:42
Running Initial Migration
03:19
+ Creating a Model and Serializer
5 lectures 23:02
Creating a Django Model
05:26
Creating and applying a new migration
05:19
Creating a serializer class
03:57
Starting and stopping development server
03:32
Creating a superuser account
04:48
+ Creating Views and URLs
5 lectures 39:56
Creating views -Part 1
10:56
Creating views - Part 2
07:08
Maping views to URLs
11:32
Register Model with admin site
04:07
Creating Model Objects
06:13
+ Testing API
2 lectures 14:43
Installing Postman
05:37
Testing API with CRUD Operations
09:06
Requirements
  • Basic knowledge of Python
  • Basic knowledge of Django
  • Basic knowledge of Databases
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

  • PostgreSQL

  • psycopg2

  • 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  PostgreSQL Database with Django

  • How to create and run Migrations

  • How to Create a Django Model

  • How to define Data Models and migrate it to PostgreSQL

  • 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
  • Beginner API developers