
Discover how this django rest framework course is organized into sections with quizzes and hands-on lectures, and install the required tools at the start to maximize learning.
Discover why RESTful web services use a single HTTP interface to perform get, post, put, and delete operations, enabling interoperability across platforms, statelessness, scalability, and caching for high performance.
Explore what Django Rest Framework is and why it's popular, using class-based and function-based views for crud, serializers, ORM, a web browsable api, and built-in security.
Install Django rest framework with pip to set up your project. Ensure Python and Django are installed, then run pip install Django rest framework to complete the setup.
Install mysql and mysql workbench by downloading the installer, installing both, and configuring a root password; it runs as a Windows service and can be managed via Windows services.
Download and install the MySQL community server on Windows, install Visual C++ prerequisites, choose the installer, set root password, enable password encryption, and complete basic configuration with MySQL Workbench.
Install MySQL Workbench on Windows, run the installer with defaults, launch, set up a local connection, and connect to remote servers or create a database in a query window.
Install Postman to test your microservices' RESTful API, using its API development environment to send get, post, put, and patch requests; configure headers, JSON bodies, and basic authentication.
Download the lecture slides from the resources section to quickly review topics, available as Keynote for Mac and dot ppts for Windows.
Create a function-based view that returns a static employee dictionary as a json response, exposing a simple restful endpoint and illustrating the http json payload the client receives.
Explore the zango rest framework's request and response classes, status module, and API view decorators that enable a RESTful API with GET and POST and proper content negotiation.
Create a Django project and an FBV app, integrate the rest framework, and configure a sqlite database named student.db to enable function-based views and serializers for RESTful CRUD operations.
Implement primary key based operations in a function-based view to retrieve, update, and delete a student by primary key using a serializer, error handling, and proper http responses.
Configure the URLs and test the application using class-based views, defining list and detail endpoints for students, running migrations, and validating get, post, update, and delete operations.
Explore non primary key based operations and primary key based operations using mixins in a generic API view, configuring queryset and serializer class for the student data.
Test the mixin code without changing urls.py, verify the student list and details endpoints load, and perform CRUD operations via the web UI, including primary key based updates and deletes.
Explore generics to simplify code by replacing mixins and class-based views with generics for list create and retrieve update destroy operations, using the query set and serializers.
Implement rest endpoints with a view set by inheriting from model view set, defining queryset and serializer, to support primary key and non-primary key access; routes will be configured next.
Create a Django project from the command line, then create an app, configure rest_framework in settings, and set up an author DB for future migrations.
Sample of the reviews:
Good Course. I like the teaching style, short videos with good focus subject coverage such that I can manage my time more effectively. - Mark Mneimneh
Great Course. Good Basic Knowledge of the Framework - Gus Minor
The course is good for beginners. I looked for this type of course, short and specific. I learned from it. I got a better understanding of drf. - Fidel Rosell
---
Are you a python and Django developer who wants to create python rest apis while mastering Django Rest Framework(DRF)? Are you an experienced Django Developer who wants to fill in any gaps in your knowledge of creating a REST APIs using Django REST Framework then this course is for you too.
DRF is the most widely used Web Application Development framework in the industry today. Django makes it super easy to create production ready web applications. You will start this course by learning what Django REST Framework is ,the different features that are a part of every Django REST application .You will be working hands on one feature at a time .You will then create a web application using all the knowledge you gain from those sections.
Learn what REST APIs are and why we need them
Create REST APIs using Function Based Views
Create REST APIs using Class Based Views
Use mixins, generics and ViewSets
Configure Router and Routes for your REST APIs
Secure you REST APIs using Authentication and Authorization
What are the requirements?
Knowledge of Python , Atom or PyCharm (Installation of Atom is covered in easy setup section)