Building RESTful Web APIs with Django
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to build a RESTful web API using the Django REST framework.
Syllabus
Introduction
- Create a REST API with Django and Django REST framework
- What you should know
- Demo project overview
- Creating a Django Rest framework serializer to serialize a model
- Creating a ListAPIView subclass
- Connecting an APIView to a route
- Filter back ends with URL query parameters
- Enabling full-text search filter back end
- Enabling pagination of querysets in API responses
- Creating a CreateAPIView subclass
- Connecting a CreateAPIView to the router
- Creating a DestroyAPIView subclass
- Connecting a DestroyAPIView to the router
- Creating an UpdateAPIView subclass
- Connecting an UpdateAPIView to the router
- Serializer with only selected fields
- Serializer that shows model relationships
- Number fields with serializers
- Date and time fields with serializers
- Lists, dicts, and JSON objects
- Serializer with ImageField and FileField
- Test case for a CreateAPIView subclass
- Test case for a DestroyAPIView subclass
- Test case for a ListAPIView subclass
- Unit test for an UpdateAPIView subclass
- Handling image uploads in a unit test
- Next steps
Taught by
Rudolf Olah
Related Courses
30 Days to Learn LaravelLaracasts 3D Graphics for Web Developers
Pompeu Fabra University via FutureLearn A Beginner’s Guide to Web Development with HTML5
Packt via FutureLearn Accessibility Audit
Amazon Web Services via AWS Skill Builder Expanding Your JS Skills with Angular
A Cloud Guru