Part of the Free Full-stack course: https://www.youtube.com/playlist?list=PL6yRaaP0WPkXo7Kl6LQcO69bsYTS7BDxo
Welcome to the Free Full-stack Course
In this course, we will be using Python as the programming language for our backend to deliver REST APIs. The REST APIs will be developed on top of Django which is a backend/website framework that sits on top of Python. And we will also use DRF (Django REST Framework) to actually deliver our APIs on top of Django.
In this chapter we will set up Django REST Framework (DRF) on our backend and get two APIs up and running called auth/login and auth/logout.
Timestamps:
00:00 - Setting up Django REST Framework (DRF)
00:41 - DRF is a toolkit for building web APIs
03:18 - We will follow the installation process
03:57 - Make sure you've activated your virtual environment
09:08 - Install DRF
10:44 - Upgrade Pip if prompted to do so
11:47 - Install markdown
12:01 - Install Django Filter
13:18 - Add DRF to the list of installed apps in settings.py
14:43 - Add the auth endpoints to backend/urls.py
18:34 - Run your server if not already running
19:41 - Hit the login endpoint (we don't have a user yet)
20:33 - Hit the logout endpoint
20:59 - We don't yet need a user
22:14 - There is a lot more to DRF
23:05 - Most parts of our final app won't need logging in
25:04 - The purchasing part will require a user
25:30 - Commit and push your changes
26:07 - Great job
If you want to support my work, please consider joining my YouTube channel by pressing the Join button!
Twitter: https://twitter.com/vandadnp
LinkedIn: https://linkedin.com/in/vandadnp
Let's get started!