https://github.com/programmer-yar/channels
Basic chat app using channels in Django
https://github.com/programmer-yar/channels
Last synced: 8 months ago
JSON representation
Basic chat app using channels in Django
- Host: GitHub
- URL: https://github.com/programmer-yar/channels
- Owner: Programmer-yar
- Created: 2021-08-01T07:53:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-28T11:32:42.000Z (over 4 years ago)
- Last Synced: 2025-10-23T09:21:03.204Z (8 months ago)
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chat app (Django Channels)
- To develop a simple chat app following tutorial at https://channels.readthedocs.io/en/stable/tutorial/index.html
- Understand ASGI and Websockets.
- Follow the documentation and build on top
## Initial Setup:
```
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
```
Setup redis-server and enter url in 'settings.py' in dict 'CHANNEL_LAYERS'
## TODO:
- User Authentication
- Get or create Chat room (for 2 people only)
- Save messages to database
### Test accounts:
- test_user -> testpass1
- test_user2 -> testpass2