Building a Simple CRM Using Django And Vue - Part 2 - Authentication | Django (DRF) And Vue Tutorial

Опубликовано: 07 Октябрь 2024
на канале: Code With Stein
10,134
170

In the second part of this Django and Vue series, we are going to learn how to add authentication to the CRM project. We're going to use Djoser to handle the user creation and token handling on the backend together with Django Rest Framework.

00:00 Introduction
00:20 Virtual environment
01:00 Installation
02:15 Create the Django project
03:19 Configuring the backend
06:20 Initialize the database
07:42 Testing the admin area
08:40 Sign up
19:39 Log in
24:20 Log out

We also do some changes to the frontend of course where we now need to make it possible to send the data from the sign up and log in forms to the backend using Axios.

Django and Vue is a really great combination for projects like this. Django makes it easy to build stable and reliable backends and Vue is a fantastic framework for building the frontend.

---

Important links

Github: https://github.com/SteinOveHelset/gan...
Part 2: https://github.com/SteinOveHelset/gan...
Patreon:   / codewithstein  
Twitter:   / codewithstein  
Website: https://codewithstein.com

---

#codewithstein #django #vuejs #djangoandvue #djangotutorial #learndjango #djangorestframework