Simple example of how to make a SPA using only Django. Or in other words, creating a site with HTML architecture over WebSockets that handles HTMX events.
app/website | ||
event | ||
scripts | ||
.gitignore | ||
Caddyfile | ||
django-launcher.sh | ||
docker-compose.yaml | ||
Dockerfile | ||
Makefile | ||
manage.py | ||
README.md | ||
requirements.txt |
Simple example of how to make a SPA using only Django. Or in other words, creating a site with HTML architecture over Websockets that handles HTMX events.
Run
You need docker
and docker-compose
.
make run.server
Optional: Load fake data.
run.loaddata