Skip to content

My Django Rest Framework learning project encompassed generic API view classes, permissions, authentication methods including token-based and JWT, CORS handling, task scheduling, etc., providing a comprehensive understanding of RESTful API development.

License

Notifications You must be signed in to change notification settings

DataRohit/Django-Rest-Framework-Course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django Rest Framework Course

Overview

This is a comprehensive Django Rest Framework course that takes you from a beginner to an advanced level. You can follow the commits in this repository sequentially to see all the changes made step by step to achieve the full functionality of the RestAPI.

Project Details

Project Hosting: Vercel here

Database: Initially uses sqlite3 (recommended for beginners), later integrated with MongoDB.

Credits: The project is based on the course provided by

Django Apps and Features

  • restapi

    • Echo Request Data as JSON
  • products

    • Return Random Product
    • Product Detail using ID
    • Product Update using ID
    • Product Delete using ID
    • List All Products
    • Create New Product
    • Search Product in DB
  • tokenauth

    • Generate Django Auth Token
  • task_scheduler

    • Clear Expired Django Auth Token
  • jwtauth

    • Generate Json Web Token
    • Refresh Json Web Token
    • Verify Json Web Token

Requirements

  • django
  • django-cors-headers
  • djangorestframework
  • djangorestframework-simplejwt
  • djongo==1.3.6
  • pymongo==3.11.3
  • dnspython
  • apscheduler
  • pyyaml
  • requests
  • python-dotenv
  • markdown
  • whitenoise

All the above metioned packages are listed in requirements.txt file.

Concepts Covered

  • JSON Response
  • Decorators
  • Validators
  • Serializers
  • Models
  • Views
  • URLs
  • CRUD Operation
  • Generic API Views
  • Token Authentication
  • Custom Expiring Tokens
  • Model Permissions
  • Custom Permissions
  • Mixins
  • JSON Web Token
  • Django CORS
  • Throttling
  • Scheduler
  • MongoDB Integration
  • WhiteNoise Static Hosting
  • Vercel Setup

About

My Django Rest Framework learning project encompassed generic API view classes, permissions, authentication methods including token-based and JWT, CORS handling, task scheduling, etc., providing a comprehensive understanding of RESTful API development.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published