Skip to content

Learn how to build your own REST API with Python, Django, and the Django Rest Framework.

License

Notifications You must be signed in to change notification settings

pysoserious/REST-API

 
 

Repository files navigation

REST-API

Rest API Course Logo

Build a REST API by leveraging Django, Python and the Django Rest Framework.

REST APIs are here to connect your web application to anything and everything. Build microservices, connect to client-side technologies like Angular & Ionic, and connect to other apps too.

This course will teach you exactly how to build one with Django, Python, Django Rest Framework, and more.

Full Course is here: http://joincfe.com/courses/rest-api

Section 1 | API Basics

Conceptual section, no related code

Section 2 | Pure Django API

1 - Requirements: no code

2 - Blank Django Project

3 - The Updates App and Model

3 - The Updates App and Model

4 - A JSON Response

5 - HttpResponse with Json Data

6 - JSON CBV

7 - Serialize Data

8 - Managers & Methods to Produce Serialized Data

9 - The Dot Values Method

10 - Pratical API Module

11 - Pratical API Module Part 2

12 - Use the API with Python Requests

13 - Handling Errors

14 - Http Status Codes

15 - Validating Data with a Model Form

16 - Update & Delete

17 - Validate JSON

18 - Update & Delete Part 2

19 - One Endpoint to Rule the Model

Section 3 | Django Rest Framework

1 - Introduction: no code

2 - Install Django Rest Framework

3 - Status Model & App

4 - Model Form for Validation

5 - Creating a Serailizer

6 - Create & Update through Serializers

7 - Validation & Fields

8 - API Endpoints Overview

9 - List & Search API View

10 - Create API View

11 - Detail API View

12 - Update & Delete API Views

13 - Mixins to Power Http Methods

14 - One API Endpoint for CRUDL

15 - One API Endpoint for CRUDL Part 2

16 - Uploading & Handling Images

17 - 2 Views for CRUDL

18 - Authentication & Permissions

19 - Global Settings for Authentication & Permissions

20 - Permission Tests with Python Requests

21 - Implement JWT Authentication

22 - JWT Authorization Header

23 - Custom JWT Response Payload Handler

24 - Custom Authentication View

25 - Register API View

26 - User Register Serializer

27 - Serializer Method Field

28 - Get Context Data

29 - Custom Permissions

30 - Is Owner or Read Only Permission

31 - Nested Serializer Part 1

33 - Nested Serializer Part 2 & 3

34 - Pagination to Manage Request Load

35 - Search Filter & Ordering

36 - Reverse URLs with DRF

37 - Serializer related fields

38 - Automated Testing

39 - Testing User API

41 - Testing with a Temporary Image

42 - Final wrap-up: no code

About

Learn how to build your own REST API with Python, Django, and the Django Rest Framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%