Build REST APIs with Django REST Framework and Python

Video description

This project-based course will help you master the art of building flexible and powerful APIs using Python and Django.

About This Video

  • Learn all important concepts in the simplest possible way with examples and real-life projects
  • Learn about throttling and Django filter backend
  • Explore permissions and authentication in Django

In Detail

This course touches on each and every important topic through concept explanation, documentation, and implementation. The entire course is designed for beginners with one goal in mind—to build powerful REST APIs using Python and Django.

Throughout the course, we will explore the most important Django Rest framework topics step-by-step. We will learn topics such as API basics, serializers, class-based views, and so on. After completing this course, you will be ready to work as an intern, fresher, or freelancer and you will also be able to implement everything yourself! Most importantly, you will be ready to dive deep with future practice and hard-level questions on DRF.

Who this book is for

This course is for Django developers who want to learn about API building. The entire course is designed for beginners with one goal in mind—to build powerful REST APIs using Python and Django. This course is for anyone who wants to get their career started.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Course Introduction
    1. Course Introduction
  2. Chapter 2 : Basic API Concepts - Theory
    1. Understanding API
    2. Understanding REST API
  3. Chapter 3 : API with Django
    1. Basic Django Setup
    2. Installation
    3. Models and Migrations
    4. Creating JSON Response - All Elements
    5. Creating JSON Response - Individual Elements
  4. Chapter 4 : Django REST Framework
    1. DRF Introduction
  5. Chapter 5 : Views and Serializers
    1. Serializers - GET Request
    2. Serializers - POST, PUT, DELETE Request
    3. Status Codes
    4. APIView Class
    5. Validation
    6. Serializer Fields and Core Arguments
    7. Model Serializer
    8. Custom Serializer Fields
    9. Updating Models
    10. Django Relationships
    11. Nested Serializers
    12. Serializer Relations
    13. HyperLinked Model Serializer
    14. Serializer Relations Continued
    15. GenericAPIView and Mixins
    16. URL Structure
    17. Concrete View Classes
    18. Overwrite Queryset
    19. Viewsets and Routers
    20. ModelViewSets
  6. Chapter 6 : Postman and Project Update
    1. Postman
    2. User Model
    3. Temporary Login and Logout
  7. Chapter 7 : Permissions
    1. Introduction to Permissions
    2. Custom Permissions
    3. Custom Calculation
  8. Chapter 8 : Authentication
    1. Introduction to Authentications
  9. Chapter 9 : Basic Authentication
    1. Basic Authentication
  10. Chapter 10 : Token Authentication
    1. Token Authentication - Part 1
    2. Token Authentication - Part 2
    3. Token Authentication - Part 3 (Login)
    4. Token Authentication - Part 4 (Registration)
    5. Token Authentication - Part 5 (Registration)
    6. Token Authentication - Part 6 (Logout)
  11. Chapter 11 : Manual Testing Entire Project
    1. Manual Testing Entire Project - Part 1
    2. Manual Testing Entire Project - Part 2
  12. Chapter 12 : JWT Authentication
    1. JWT Authentication - Access Token and Refresh Token
    2. JWT Authentication - Login
    3. JWT Authentication - Registration
  13. Chapter 13 : Throttling
    1. Throttling Introduction
    2. Throttle Rate (Anon and User)
    3. Throttle Rate (Custom and Scope)
  14. Chapter 14 : Filtering, Searching, Ordering
    1. Filtering Introduction
    2. Filter, Search, Order
    3. Project Update
  15. Chapter 15 : Pagination
    1. Pagination Part 1 - PageNumber
    2. Pagination Part 2 - LimitOffset
    3. Pagination Part 2 - Cursor
    4. Browsable API Update
  16. Chapter 16 : Automated API Testing
    1. API Testing - Registration
    2. API Testing - Login and Logout
    3. API Testing - StreamPlatform
    4. API Testing - WatchList
    5. API Testing - ReviewTestCase
    6. API Testing - UserTestCase
    7. Test Driven Development - TDD
    8. Project Completed
  17. Chapter 17 : Optional - Code Cleanup
    1. Optional - Code Cleanup
  18. Chapter 18 : Thank You
    1. Thank You for Being Here!

Product information

  • Title: Build REST APIs with Django REST Framework and Python
  • Author(s): Shubham Sarda
  • Release date: June 2021
  • Publisher(s): Packt Publishing
  • ISBN: 9781801819022