0:00 Setting up django environment
5:02 Django settings + urls
14:29 Testing API with CURL
18:05 Create Vuejs project, install axios
21:23 brief explanation vuejs + clean up
24:10 Create LogIn and SignUp views
29:30 Create Store to manage various user states
34:33 Set up lifecycle-hook and axios headers
39:21 SignUp view + axios requests
49:52 LogIn view + axios requests
In this video we create a full token based authentication system using django, djangorestframework, vuejs and axios. We’re using django on Linux
The project is set up to work inside a virtual environment. For this we use venv. We also use pip-tools to install all of our dependencies.
We use vue-cli to set up our vue project.
We use axios as our http client to communicate between our vue views and our djangorestframework backend.
Django packages that we use include: