Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Build a Backend REST API with Python & Django REST Framework - Beginner
Welcome to Build a Backend REST API with Python & Django REST Framework - Beginner
Welcome (1:30)
Course Structure (1:55)
Technologies (5:16)
Vagrant vs Docker (2:53)
How to get the most out of this course (1:06)
How to get help (1:25)
Section 2 - Setting up your development environment
Installing Git, VirtualBox, Vagrant, Atom and ModHeader (Windows) (9:22)
Installing Git, VirtualBox, Vagrant, Atom and ModHeader (macOS) (7:33)
Section 3 - Setting up your project
Creating a workspace (5:11)
Creating a Git project (8:29)
Pushing to GitHub (7:18)
Section 4 - Creating a development server
Creating a Vagrantfile (1:47)
Configuring our Vagrant box (3:35)
Running and connecting to our dev server (1:54)
Running a Hello World script (4:03)
Section 5 - Creating a Django app
Create a Python Virtual Environment (3:39)
Install required Python packages (3:10)
Create a new Django project & app (2:39)
Enable our app in the Django settings file (2:14)
Test and commit our changes (3:13)
Section 6 - Setup the Database
What are Django Models (0:38)
Create our user database model (10:56)
Add a user model manager (11:06)
Set our custom user model (1:18)
Create migrations and sync DB (3:41)
Section 7 - Setup Django Admin
Creating a superuser (2:33)
Enable Django Admin (1:15)
Test Django Admin (4:26)
Section 8 - Introduction to API Views
What is an APIView (2:47)
Create first APIView (7:06)
Configure view URL (5:37)
Testing our API View (2:05)
Create a serializer (3:44)
Add POST method to APIView (7:38)
Test POST function (2:28)
Add PUT, PATCH and DELETE (4:24)
Test the PUT, PATCH and DELETE methods (3:29)
Section 9 - Introduction to Viewsets
What is a ViewSet? (2:36)
Create a simple ViewSet (4:00)
Add URL Router (4:44)
Testing our ViewSet (2:27)
Add create, retrieve, update, partial_update and destroy functions (6:42)
Test ViewSet (3:49)
Section 10 - Create Profiles API
Plan our profile API (2:12)
Create user profile serializer (8:35)
UPDATE: Bug in profile serializer
Create profiles ViewSet (2:39)
Register profile ViewSet with URL router (1:23)
Test creating a profile (4:05)
Create permission class (6:37)
Add authentication and permissions to ViewSet (3:35)
Test new permissions (2:27)
Add search profiles feature (2:13)
Test search profiles (4:15)
Section 11 - Create login API
Create login API viewset (4:33)
Test login API (2:42)
Set token header using the ModeHeaders chrome extension (5:38)
Section 12 - Create profile feed API
Plan profile feed API (1:46)
Add new Model item (7:16)
Create and run model migration (2:13)
Add profile feed model to admin (0:56)
Create profile feed item serializer (4:20)
Create ViewSet for our profile feed item (5:50)
Test Feed API (4:15)
Add permissions for feed API (6:03)
Test feed API permissions (3:28)
Restrict viewing status updated to logged in users only (1:42)
Test new private feed (1:19)
Section 13 - Deploying our API to a server on AWS
Introduction to deploying our app to AWS (0:51)
Add key pair to AWS (3:14)
Create EC2 server instance (2:56)
Add deployment scripts and configs to project (11:59)
Deploy to server (4:38)
Update allowed hosts and deploy changes (5:20)
Section 14 - Course Summary
Course Conclusion (1:47)
Frequently Asked Questions
Teach online with
Add profile feed model to admin
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock