This is a simple example app to demonstrate how to setup real-time notifications using Django Channels and Server Sent Events. Full write up can be found here
docker compose up
-
Install poetry and dependencies
pip install poetry poetry install
-
Run!
python manage.py migrate poetry run uvicorn --host 0.0.0.0 --port 8000 --reload --reload-include "sse/events/templates/*" sse.asgi:application