This repo shows how to set up the Channels structure with a chat application without an interface. In this structure, redis backend service is used.
Custom development
By default, Channels supports Django's session-based authentication structure, but special middleware has been written for token-based authentication used for restframework here.
- Clone the repository
- Install redis in your computer and start redis
- Install required packages
pip3 install django pip3 install django-redis pip3 install channels pip3 install channels-redis pip3 install djangorestframework
You can review the document I described Channels for use.
Medium Document