Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Django REST Framework - Build an API from Scratch

Caleb Curry via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to build a Django REST Framework API from scratch in this comprehensive tutorial. Create a virtual environment, install necessary packages, and set up a Django project. Explore the admin site, create models and migrations, and implement REST framework components. Develop serializers and view endpoints for CRUD operations, including GET, POST, PUT, and DELETE requests. Discover how to retrieve JSON data through the browser and consume the API effectively. Follow along with step-by-step instructions and practical examples to master building robust APIs using Django REST Framework.

Syllabus

- Introduction
- Create a virtual environment
- Install packages
- Create our Django project
- Apply migrations
- Intro to admin site
- Create our model
- Create our own migration
- Start REST framework
- Create our serializer
- Create our view endpoints
- CRUD
- POST request
- Drink details - GET
- Drink details - PUT
- Drink details - DELETE
- Getting JSON through browser
- Consuming the API

Taught by

Caleb Curry

Reviews

Start your review of Django REST Framework - Build an API from Scratch

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.