
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
Install Sublime Text and the Git Bash terminal to set up your development environment. Learn to download, install, and launch these tools on Windows, Mac, or Linux.
Set up and activate a Python virtual environment to manage Django projects, install Django inside the venv, and practice cross-platform terminal commands.
Django has updated to version 3.0 since this course was released. You can use the latest version of Django with no problems in this course.
Create a Django app named courses, register it in settings, wire its urls.py with an include, and prepare to remove the admin route, laying groundwork for a courses API.
Build a Django model for a courses API with fields for name, language, and price. Create and apply migrations, then run the Django server.
Create a course serializer using the Django Rest Framework to translate course data to json. Expose id, name, language, and price via a CourseSerializer linked to the course model.
Import rest framework view sets, course model, and course serializer. Define a course view set with a queryset of all course objects and assign the serializer class to JSON.
Create urls and routes for your Django Rest Framework API by configuring a default router, registering the courses view, and exposing endpoints for list and detail data.
Switch to a hyperlinked model serializer to embed per-item URLs in API responses, making links clickable and demonstrating URL fields within the Django Rest Framework.
Set up git for version control, initialize a repository, stage and commit changes, generate an SSH key, and push the code to GitHub.
Learn how to build a Django REST framework API quickly by wiring urls, routers, views, and a simple course model, with automatic path creation and admin registration.
Building your own API with Django and Python can seem overwhelming at first, but it doesn;t have to be! In this course I’ll walk you through it step by step and you’ll be building your first API in MINUTES. You’ll be amazed how quick and easy it is to create very professional API's using the Django Rest Framework, even if you have no programming or web design experience at all.
Watch over my shoulder as I build a simple little API that lists some of my online courses step by step right in front of you. You’ll follow along and build your own copy. By the time we’re finished, you’ll have a solid understanding of the Django Rest Framework and how to use it to build awesome API's that will serve up any data you like.
The course contains 20 videos – and is just over 1.5 hours long. Watch the videos at your own pace, and post questions along the way if you get stuck. You don’t need any special knowledge or software to take this course, though any experience with basic Django or Python is a plus. You don’t really need to know the Python programming language, but it certainly helps!. I’ll walk you through EVERYTHING.
Django is a great web development tool and learning it has never been this easy.
What We'll Build...
We'll build an API that let's you show any sort of data that you like. The data will be publicly accessible through your API using JSON, just like any API you've ever used before.
We'll mainly use the popular Django Rest Framework to build and server our App. You'll learn how to create a database model to hold your data, how to build a Serializer to convert the database data to and from JSON, and urls and Routes to create webpages for you API.
Sign up today and I'll see you on the inside!