Search
To account for the video time in the certificate, wait for the video to shut down automatically. The next video of the course will be triggered next.
Quality content and selected for your learning.
Download your digital certificate of course completion after watching all course videos.
Many of the courses available have exercises to help with learning.
This course is free today and always will be, from start to finish you will pay nothing.
Teacher
Hi I'm Mark. I'm a full-stack software developer who loves to learn and teach new technologies.
0h01m
0h01m
0h01m
0h05m
0h08m
0h07m
0h08m
0h02m
0h05m
0h03m
0h05m
0h06m
0h03m
0h04m
0h03m
0h03m
0h05m
0h00m
0h15m
0h09m
Watch the 1st video of the course
Welcome to our playlist. Here you'll find every lesson of our beginner course Build a Backend REST API with Python
Introduction video to How to build a REST API using Python
In this lesson I explain the teaching style and how best to take this course.
Command Line Cheat Sheet: https://drive.google.com/file/d/0B9ZdsGRs88lDUUR4dTM3V2dtMDQ/view
--
This video is from the old version of our course:
Build a Backend REST API with Python
To build our REST API we are going to use Vagrant, VirtualBox, Atom, Python, Git, Django and Django REST Framework. In this lesson I explain how these will work together to create our REST API.
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I show you how to install all of the applications required for this course.
I demonstrate using Windows, however, all of the applications required are available for Mac and Linux.
If you already have these tools installed or you know how to install them yourself then feel free to skip this lesson.
Just make sure you have Vagrant, VirtualBox, Atom, Git-SCM and ModHeader (a chrome extension) installed. You can find the links to each one in the resources.
IMPORTANT UPDATE REGARDING VAGRANT
The latest Vagrant 2.0 is not compatible with the latest VirtualBox 5.2 (as of 2017-10-25). There is an open bug on the Vagrant GitHub (https://github.com/hashicorp/vagrant/issues/9090) and hopefully Hashicorp resolve this soon.
In the mean time, the best course of action is to download VirtualBox 5.1 from https://www.virtualbox.org/wiki/Download_Old_Builds
(Thank you James for pointing this out)
--
Vagrant: https://www.vagrantup.com/
VirtualBox: https://www.virtualbox.org/
ModHeader: https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpgkljpfnnfcklj?hl=en
Atom: https://atom.io/
Git: https://git-scm.com/
Command Line Cheat Sheet: https://drive.google.com/file/d/0B9ZdsGRs88lDUUR4dTM3V2dtMDQ/view?usp=sharing
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll explain how to create a local workspace where we will be storing all the code for our API.
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll show you how to create a README file for our project and initialise a new Git repository. I'll also show you how to make our first Git commit (something we'll be doing lots of throughout the course).
Update: The official GitHub Python .gitignore file is missing `.vagrant` from the list of ignored files. I've since updated this link to point to an extended version of the original Python.gitignore file which includes this extra item as well as `.sqlite3`. This makes Git ignore the temporary vagrant files and database which would typically be excluded from the git repository. (Thanks Keith for pointing this out!).
GitHub Markdown Cheatsheet: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
Command Line Cheat Sheet: https://drive.google.com/file/d/0B9ZdsGRs88lDUUR4dTM3V2dtMDQ/view?usp=sharing
GitHub Python.gitignore: https://gist.github.com/LondonAppDev/66c3291e4f487ac92fcc96735e44c35e
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll show you how to create a Vagrantfile which we will use to describe the server we need for our back-end API.
Command Line Cheat Sheet: https://drive.google.com/file/d/0B9ZdsGRs88lDUUR4dTM3V2dtMDQ/view?usp=sharing
Vagrant: https://www.vagrantup.com/
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll teach you how to customise your Vagrantfile to describe a server which has all the required dependencies and settings to build and test our API.
Vagrantfile: https://gist.github.com/LondonAppDev/d990ab5354673582c35df1ee277d6c24
--
This video is from the old version of our course:
Build a Backend REST API with Python
Here I will show you how to start and connect to our development server.
IMPORTANT UPDATE
If you get the "No usable default provider could be found for your system." when running vagrant up, read this:
This is because the latest Vagrant 2.0 is not compatible with the latest VirtualBox 5.2 (as of 2017-10-25). There is an open bug on the Vagrant GitHub (https://github.com/hashicorp/vagrant/issues/9090) and hopefully Hashicorp resolve this soon.
In the mean time, you can resolve this by uninstalling VirtualBox and downloading VirtualBox 5.1 from https://www.virtualbox.org/wiki/Download_Old_Builds
If you have any issues please let me know in the Q
In this lesson I teach you how to run a traditional Python "Hello World" script on our newly created server.
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson, I'll show you how to create a Python Virtual Environment using virtualenvwrapper.
Virtual Environment (Docs): http://python-guide.readthedocs.io/en/latest/dev/virtualenvs/
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll show you how to install the required Python packages using Python PIP.
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll show you have to create a new Django project and app using the Django CLI.
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll show you how to enable our newly created app in the Django settings file.
--
This video is from the old version of our course:
Build a Backend REST API with Python
Here I'll show you how to save the Python PIP dependencies to a requirements file.
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll show you how to test and commit the changes to Git.
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll introduce you to the concept of Django Models.
Django Models (Official Docs): https://docs.djangoproject.com/en/1.11/topics/db/models/
--
This video is from the old version of our course:
Build a Backend REST API with Python
Here I'll show you how to create a user database model which we will use to store our user profiles.
models.py: https://gist.github.com/LondonAppDev/01feb984211e1237f81ca3e4bdb1eeb7
Django Model Fields (Official Docs): https://docs.djangoproject.com/en/1.11/ref/models/fields/
Substituting a custom User model (Official Docs): https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#auth-custom-user
--
This video is from the old version of our course:
Build a Backend REST API with Python
In this lesson I'll show you how to create a model manager for our user profile model. This model manager will be used to help Django work with our custom user model.
UserProfileManager models.py: https://gist.github.com/LondonAppDev/9e6ba4ea580e5ee4bc3c04d3914c8119
normalize_email (Official Docs): https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#django.contrib.auth.models.BaseUserManager.normalize_email
--
This video is from the old version of our course:
Build a Backend REST API with Python
Course comments