4.27 out of 5
4.27
84 reviews on Udemy

Creating powerful API’s with Django Rest Framework on Heroku

Learn how to create powerful API's with Django 2.1 and Django Rest Framework 3 deploying on Heroku
Instructor:
Gregory Pacheco
479 students enrolled
English [Auto-generated]
You will be able to develop power Restful API's with Django Rest Framework

Let’s do a deep diving into the Django Rest Framework with practical examples in a 100% hands on course with Python 3+, Django 2+, Django Rest Framework 3, Postman and Heroku.

We will create a full project ( Customer Base ) with all database relationships, image upload and full control on what is happening behind the scenes.

  1. Introduction

  2. Preparing the environment

  3. Creating the base of the application ( Customer base app )

  4. Setup of the Django Rest Framework

  5. Exposing an API for the Customer Endpoint

  6. Consuming this API with Google Chrome and Postman

  7. Creating the Endpoint for the all entities

  8. Personalizing the get_queryset method to provide a list of Customers with filters

  9. Override of the behaviour for the defaults HTTP verbs (Get, Post, Put, Patch, Delete )

  10. Creating custom actions

  11. Using query strings

  12. Filtering querysets with DjangoFilter backend

  13. Enabling API search

  14. Custom lookup field

  15. Improving the API security with Tokens

  16. Custom permissions per token

  17. Nested relationships

    1. OneToOne

    2. ForeignKey

    3. ManyToMany

  18. Types of Serializers

    1. Nested serializers

    2. Function fields

  19. Types of ViewSets

  20. Enabling Pagination on your API

  21. Deploy on Heroku

  22. Updating versions of the application after deploy on Heroku

Introduction

1
Introduction
2
Preparing the environment WINDOWS - BONUS
3
Preparing the environment and creating the project
4
Creating the Models of the application
5
Creating extra database relationships
6
Setup of the Django Rest Framework and creating the first API Endpoint

Hands on - Understanding the how the Framework works

1
Consuming the API with Postman
2
Creating the Endpoint Professions
3
Creating the endpoint for Datasheet and Document
4
How to override the method get_queryset
5
Overriding the behaviour of the List method
6
Override Retrieve method
7
Overriding the behaviour of the POST method
8
Overriding the behaviour of the PUT method
9
Overriding the behaviour of the PATCH method for partial Update
10
Overriding the behaviour of the DELETE method
11
Creating custom actions

Querying and Searching on the API

1
Query string
2
Filtering by address with Query params
3
Using DjangoFilterBackend
4
Enabling search on the Endpoint
5
Ordering the Queryset
6
Changing the default look_up field

Exploring the serializers classes

1
Using properties to add extra information to the serializer
2
SerializerMethodField
3
StringRelatedFields
4
PrimaryKeyRelatedField
5
Taking advantage of the power of Nested Serializers

Authentication and authorization

1
Enabling Token based authentication
2
Enabling Authorizations classes
3
Understanding how the classes IsAdminUser and IsAuthenticatedOrReadyOnly works
4
DjangoModelPermissions and DjangoModelPermissionsOrAnonReadOnly

Writable nested representations

1
Handling ManyToMany Relationships
2
Handling ForeignKey Relationships
3
Handling OneToOne Relationships

Deploying to Heroku

1
Setup the project for Heroku part 1
2
Setup the project for Heroku part 2
3
Setup the project for Heroku part 3
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.3
4.3 out of 5
84 Ratings

Detailed Rating

Stars 5
41
Stars 4
23
Stars 3
16
Stars 2
2
Stars 1
3
0dbb3d8d0286f943c0d986494013cd1a
30-Day Money-Back Guarantee

Includes

6 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion