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
What you’ll learn
-
You will be able to develop power Restful API’s with Django Rest Framework
Requirements
- Basic knowledge about Django
Description
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.
- Introduction
- Preparing the environment
- Creating the base of the application ( Customer base app )
- Setup of the Django Rest Framework
- Exposing an API for the Customer Endpoint
- Consuming this API with Google Chrome and Postman
- Creating the Endpoint for the all entities
- Personalizing the get_queryset method to provide a list of Customers with filters
- Override of the behaviour for the defaults HTTP verbs (Get, Post, Put, Patch, Delete )
- Creating custom actions
- Using query strings
- Filtering querysets with DjangoFilter backend
- Enabling API search
- Custom lookup field
- Improving the API security with Tokens
- Custom permissions per token
- Nested relationships
- OneToOne
- ForeignKey
- ManyToMany
- Types of Serializers
- Nested serializers
- Function fields
- Types of ViewSets
- Enabling Pagination on your API
- Deploy on Heroku
- Updating versions of the application after deploy on Heroku
Who this course is for:
- Students interested on development of Resfull API’s