
Build a complete authentication rest API in Django and test it with Postman, including custom user model, token-based signup, login, password reset, and email functionality.
Download and install Python, PyCharm, and VS Code on Windows and Mac, follow the setup steps, and prepare your development environment.
Explore how the back end powers websites, linking servers, databases, and apis through a request–response cycle. Discover cloud concepts like IaaS, PaaS, and SaaS, plus microservices and rest apis.
Create a Django project and account app in PyCharm. Install Django Rest framework and simple JWT, then configure token obtain and token refresh views for access and refresh tokens.
Create a custom Django user model using abstract base user, with email as username, include name and a remember me boolean, and set the auth user model in settings.
Learn how to implement a custom user model in django, perform migrations, create a superuser, register the model in admin, and prepare the app for a sign-up api.
Customize the Django admin panel by updating the custom user model and admin.py, and adjust the list to show email, name, id, remember me, and is admin.
Create a sign-up endpoint for user registration using Django REST framework. Set up the URL, a post API view, and a registration serializer with email, name, and password.
Validate user data and enforce password confirmation in the registration flow, create the user with a custom model, and handle serializer errors while testing the register endpoint with postman.
Build a login API using a Django DRF serializer and API view to authenticate users with email and password via post requests, returning success or error messages and status codes.
Implement a custom json response in DRF by creating a renderer to format error details for empty data in Postman, then wire it into the view to improve API errors.
Create a custom json renderer to show serializer errors for user registration in a json response. Integrate it by using UserRenderer and setting renderer_class in registration and login views.
Implement json web token authentication by integrating django rest framework simple jwt to issue access and refresh tokens on user registration and login, and verify responses with postman.
Building your own API with Django and Python can seem overwhelming at first, but it doesn't have to be! In this course I’ll walk you through it step by step and you’ll be building your first API in MINUTES. You’ll be amazed how quick and easy it is to create very professional API's using the Django Rest Framework, even if you have no programming or web design experience at all.
Watch over my shoulder as I build a simple little API that lists some of my online courses step by step right in front of you. You’ll follow along and build your own copy. By the time we’re finished, you’ll have a solid understanding of the Django Rest Framework and how to use it to build awesome API's that will serve up any data you like.
The course contains 16 section videos – and is just over 3.2 hours long. Watch the videos at your own pace, and post questions along the way if you get stuck. You don’t need any special knowledge or software to take this course, though any experience with basic Django or Python is a plus. You don’t really need to know the Python programming language, but it certainly helps!. I’ll walk you through EVERYTHING.
Django is a great web development tool and learning it has never been this easy.
What We'll Build...
First, we are configure our setting of project to implement our API functionality and then we create our custom user model. customize our custom user model admin panel. how to build a customize Json response after that we work on building our API like signup , login, user profile, change password, reset password. After each API we test our API with Postman.
We are using Simple JWT plugin for Django Rest Framework to build our API.
Join me on this exciting journey to learn Complete Authentication API with Django Rest Framework.