Demonstration of how to build a real time application using HTML over WebSockets in Django
Go to file
Andros Fenollosa 873498820e Add demo v2
2021-03-21 14:34:02 +01:00
.github Add founding 2021-03-13 11:11:06 +01:00
apps Add comments broadcast 2021-03-21 14:24:02 +01:00
Dockerfiles/django Update version debian 2021-03-07 18:36:40 +01:00
my_demo Add form Comments 2021-03-21 12:53:47 +01:00
.gitignore Add dummy data 2021-03-09 22:03:17 +01:00
Caddyfile Fix bad names 2021-03-08 21:25:34 +01:00
comments.json Add dummy data 2021-03-09 22:03:17 +01:00
db.sqlite3 Add paginator 2021-03-12 21:16:23 +01:00
demo-v2.gif Add demo v2 2021-03-21 14:34:02 +01:00
demo.gif Add gif 2021-03-13 11:07:58 +01:00
django-launcher.dev.sh Fix connect websockets 2021-03-11 21:57:21 +01:00
django-launcher.pro.sh Fix bad names 2021-03-08 21:25:34 +01:00
docker-compose.dev.yaml Add redis 2021-03-17 22:25:00 +01:00
manage.py Fix bad names 2021-03-08 21:25:34 +01:00
posts.json Add dummy data 2021-03-09 22:03:17 +01:00
README.md Add demo v2 2021-03-21 14:34:02 +01:00
requirements.txt Fix connect websockets 2021-03-11 21:57:21 +01:00

Demo: HTML over WebSockets in Django

Demonstration of how to build a real time application using HTML over WebSockets in Django

demo

Broadcast

demo v2

Article that inspired

https://alistapart.com/article/the-future-of-web-software-is-html-over-websockets/

Explanation

https://programadorwebvalencia.com/html-sobre-websockets/

https://www.youtube.com/watch?v=02IjScPlDH0

Run demo

docker-compose -f docker-compose.dev.yaml up -d

Open

my-demo.localhost

Load fake data

docker exec -it demo-html-over-websockets-in-django_django_1 python3 manage.py loaddata comments.json