codingforentrepreneurs / ChatXChannels

Learn to Build Real Time Chat with Django Channels

Home Page:https://kirr.co/vmd13r

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat x Channels Logo

Chat x Channels

Learn to Build Real Time Chat with Django Channels

Course link

Requirements

  • Django 2.0.5 or Django 1.11
  • Channels 2.1.1
  • Python 3.5 (and up)

Recommended Start:

$ cd path/to/your/dev/folder
$ mkdir channels
$ cd channels
$ git clone https://github.com/codingforentrepreneurs/ChatXChannels .
$ git reset 2d1d70cff13e77c5a83d50282b18e978d1f5fdbe --hard
$ git remote remove origin
$ virtualenv -p python3 .
$ source bin/activate
(channels) $ pip install -r requirements.txt

Lecture Code

Section 1: WebSockets & Channels

2 - Non-Realtime Chat with Django only

3 - Setup Django Channels

4 - Websocket Routing

5 - Consumer in Python & WebSocket API in JavaScript

6 - Accept WebSocket Connection

7 - Send & Receive Messages via WebSockets

8 - Async Consumer

9 - Websocket Groups

10 - The User in a Consumer

11 - Display Messages

12 - Save Chats in the Database

13 - Broadcast Messages to Group

14 - Broadcast Utility

15 - Delayed Broadcast Message

16 - Deploy to Heroku

Section 2: Workers & Channels

1 - Task Consumer

2 - Synchronous Trigger

3 - Test Run Worker Process

4 - Implement Worker Trigger

5 - Complete the Consumer

About

Learn to Build Real Time Chat with Django Channels

https://kirr.co/vmd13r

License:MIT License


Languages

Language:Python 90.5%Language:HTML 9.5%