In this video i am going to cover all import topics of creating apis using Django . This is crash course for working with rest api using Django.
Source Code: https://github.com/LearnCodeWithDurgesh/companyapi
Source Code: https://github.com/LearnCodeWithDurgesh/companyapi
Content of the video:
- 00:00 Introduction to Video
- 01:50 What is Django
- 03:09 What is API with Example
- 10:00 Identifying the Resource for Project and Relation
- 11:07 Deciding END Points
- 14:54 Six Steps to have fully working apis using django
- 19:22 Installing Needed software(Python, Django etc)
- 24:00 Creating Django Fresh project
- 26:55 Discussing about django project basics and django components creating simple api using function based views
- 35:42 Installing Django Rest Framework 38:00 Creating new api app for apis
- 38:44 Creating Company Model 44:25 Creating Company Serializer
- 46:58 Creating Company ViewSet
- 49:41 Setting up urls using DefaultRouter
- 56:35 Testing Company API
- 01:04:28 Working on Employee API
- 01:07:00 Establish the relation between Company and Employee
- 01:20:36 Creating custom api with(@action): Getting employee of specific category
- 01:35:30 Creating our apis ReadOnly 01:38:50 Disabling browsable API 01:40:40
- Working on Django Admin module with some customization. Thanks for watching , do like and share