Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Creating powerful API's with Django Rest Framework on Heroku
Rating: 4.2 out of 5(285 ratings)
15,063 students

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
Created byGregory Pacheco
Last updated 9/2018
English

What you'll learn

  • You will be able to develop power Restful API's with Django Rest Framework

Course content

7 sections38 lectures5h 57m total length
  • Introduction16:56

    Explore building and exposing a web API with Django Rest Framework on Heroku, handling get, post, patch, and delete operations, using JSON data and token-based security, and deploying to Heroku.

  • Preparing the environment WINDOWS - BONUS22:20

    Set up a Windows development environment for Django, verify Python 3 installation, create and activate a virtual environment, install Django, and run the development server with migrations and a superuser.

  • Preparing the environment and creating the project6:50

    Prepare a Django project by creating and activating a virtual environment, installing Django and Django REST framework, then creating an app, applying migrations, and starting the server.

  • Creating the Models of the application7:27

    Create complex models with one-to-many relationships, including documents and document types, register them in admin, migrate databases, and expose via routers, views, and serializers to power a Django REST API.

  • Creating extra database relationships6:27

    Refine the data models to establish robust relationships among customers, documents, professions, and data sheets, enable cascade delete, and prepare migrations for the api on Heroku.

  • Setup of the Django Rest Framework and creating the first API Endpoint25:38

    Set up the Django rest framework, enable the browsable API, and create the first API endpoint by defining a customer serializer, a viewset, and routers.

Requirements

  • Basic knowledge about Django

Description

Join our comprehensive, hands-on course for a thorough exploration of the Django Rest Framework, featuring practical examples. This course is tailored for those with knowledge in Python 3+, Django 2+, Django Rest Framework 3, and covers tools like Postman and Heroku.


Course Outline:


1. **Introduction**

2. **Environment Setup**

3. **Building the Core Application (Customer Base App)**

   - Creating a full-fledged project with database relationships, image upload, and in-depth backend insights.

4. **Django Rest Framework Integration**

5. **Developing a Customer API Endpoint**

   - Implementation and testing using Google Chrome and Postman.

6. **Endpoint Creation for All Entities**

7. **Customizing `get_queryset` Method**

   - Enhancing Customer data retrieval with filters.

8. **Modifying Default HTTP Verb Behaviors**

   - GET, POST, PUT, PATCH, DELETE.

9. **Implementing Custom Actions and Query Strings**

10. **Advanced Queryset Filtering**

    - Utilizing DjangoFilter backend.

11. **Enabling API Search and Custom Lookup Fields**

12. **Enhancing API Security**

    - Token-based authentication and custom permissions.

13. **Understanding Nested Relationships**

    - OneToOne, ForeignKey, ManyToMany.

14. **Exploring Serializer Types**

    - Nested serializers and function fields.

15. **Diving into ViewSets Varieties**

16. **Implementing API Pagination**

17. **Deployment and Version Updates on Heroku**


Throughout the course, you'll build a 'Customer Base' project, learning to manage database relationships, understand API security, and deploy your application on Heroku. We'll also cover version updates post-deployment, ensuring you have the skills to maintain and improve your project.

Who this course is for:

  • Students interested on development of Resfull API's