Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datarohit/django-rest-framework-course
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.
https://github.com/datarohit/django-rest-framework-course
apscheduler django django-cors-headers django-rest-framework djongo jsonwebtoken mongodb mongodb-database pymongo simplejwt whitenoise
Last synced: about 16 hours ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/datarohit/django-rest-framework-course
- Owner: DataRohit
- License: gpl-3.0
- Created: 2023-10-17T19:00:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-27T12:05:41.000Z (about 1 year ago)
- Last Synced: 2023-10-27T13:26:07.084Z (about 1 year ago)
- Topics: apscheduler, django, django-cors-headers, django-rest-framework, djongo, jsonwebtoken, mongodb, mongodb-database, pymongo, simplejwt, whitenoise
- Language: Python
- Homepage: https://django-rest-framework-gamma.vercel.app
- Size: 2.18 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://django-rest-framework-gamma.vercel.app/)**Database:** Initially uses sqlite3 (recommended for beginners), later integrated with MongoDB.
**Credits:** The project is based on the course provided by
- [CodingEntrepreneurs](https://www.youtube.com/@CodingEntrepreneurs)
- [BestTutorial07](https://www.youtube.com/@BestTutorial07)## Django Apps and Features
- [***restapi***](https://github.com/DataRohit/Django-Rest-Framework-Course/tree/main/backend/restapi)
- Echo Request Data as JSON- [***products***](https://github.com/DataRohit/Django-Rest-Framework-Course/tree/main/backend/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***](https://github.com/DataRohit/Django-Rest-Framework-Course/tree/main/backend/tokenauth)
- Generate Django Auth Token- [***task_scheduler***](https://github.com/DataRohit/Django-Rest-Framework-Course/tree/main/backend/task_scheduler)
- Clear Expired Django Auth Token- [***jwtauth***](https://github.com/DataRohit/Django-Rest-Framework-Course/tree/main/backend/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
- whitenoiseAll the above metioned packages are listed in [requirements.txt](https://github.com/DataRohit/Django-Rest-Framework-Course/blob/main/backend/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