Mô tả

REST APIs Power the Internet

How does Apple Maps have Yelp listings?

How does Tinder get Facebook user profiles?

How does Amazon Alexa know the latest news?

These questions get to the core of how powerful REST APIs can be: it allows for websites to communicate with each other without any human interaction.

Building a REST API isn't just about connecting with third party services, it's also about:

  • Adding Authentication, Registration, Databases, and more to your Mobile App, IOT Device, TV app, Car app, and more
  • Connecting your own web apps with each other
  • Creating micro-services
  • Adding a backend for Angular, React, iOS Apps, Android apps, and more
  • Simplifying the process of separating your backend from your frontend
  • Making it easier to build additional services with new developers

This course will teach you step-by-step exactly how to build a REST API

We'll cover the concepts first, then we'll go into build a PURE DJANGO REST API, then we'll use the Django REST Framework to build a REST API.

Bạn sẽ học được gì

What is an API?

What is a REST API?

How to build your own REST API

A deeper understanding of Django

A deep understanding of the Django Rest Framework

A deep understanding of JWT and authentication with the Django Rest Framework

Building an REST API with Python

Yêu cầu

  • Some Python Experience
  • Some Django Experience

Nội dung khoá học

5 sections

Introduction

1 lectures
Welcome
01:42

API Basics

3 lectures
Welcome
00:25
Behind the API
09:39
The Magic of REST APIs
27:33

Pure Django API

19 lectures
Requirements
01:28
Blank Django Project
04:50
The Updates App and Model
06:40
A JSON Response
08:52
HttpResponse with Json Data
02:28
JSON CBV
08:11
Serialize Data
08:30
Managers & Methods to Produce Serialized Data
08:22
The Dot Values Method
05:25
Practical API Module
08:06
Practical API Module Part 2
10:13
Use the API with Python Requests
10:23
Handling Errors
12:15
Http Status Codes
06:58
Validating Data with a Model Form
14:40
Update & Delete
12:25
Validate JSON
07:35
Update & Delete Part 2
15:05
One Endpoint to Rule the Model
19:57

Django Rest Framework

42 lectures
Introduction
03:08
Install Django Rest Framework
04:20
Status Model & App
05:03
Model Form for Validation
05:52
Creating a Serializer
12:18
Create & Update through Serializers
11:11
Validation & Fields
08:42
API Endpoints Overview
05:33
List & Search API View
09:25
Create API View
02:33
Detail API View
03:13
Update & Delete API Views
03:13
Mixins to Power Http Methods
09:46
One API Endpoint for CRUDL
12:44
One API Endpoint for CRUDL Part 2
16:32
Uploading & Handling Images
10:22
2 Views for CRUDL
08:06
Authentication & Permissions
11:21
Global Settings for Authentication & Permissions
05:27
Permission Tests with Python Requests
07:05
Implement JWT Authentication
10:44
JWT Authorization Header
10:15
Custom JWT Response Payload Handler
06:09
Custom Authentication View
15:07
Register API View
09:13
User Register Serializer
10:22
Serializer Method Field
05:03
Get Context Data
05:53
Custom Permissions
06:55
Is Owner or Read Only Permission
12:50
Nested Serializer Part 1
08:51
Nested Serializer Part 2
07:32
Nested Serializer Part 3
16:20
Pagination to Manage Request Load
08:37
Search Filter & Ordering
11:19
Reverse URLs with DRF
10:26
Serializer related fields
11:57
Automated Testing
07:47
Testing User API
19:04
Testing API
20:44
Testing with a Temporary Image
20:18
Django Rest API Wrap Up
03:33

Thank you and next steps

1 lectures
Thank you and next steps
01:09

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.