Django multipage template for html over the wire
Go to file
2022-04-19 23:06:51 +02:00
app Add login and signup 2022-04-19 22:56:42 +02:00
project_template First commit 2022-04-19 21:14:01 +02:00
static Add login and signup 2022-04-19 22:56:42 +02:00
.gitignore Create .gitignore 2022-04-19 21:51:27 +02:00
Caddyfile First commit 2022-04-19 21:14:01 +02:00
django-launcher.sh First commit 2022-04-19 21:14:01 +02:00
docker-compose.yaml First commit 2022-04-19 21:14:01 +02:00
Dockerfile First commit 2022-04-19 21:14:01 +02:00
LICENSE Initial commit 2022-04-19 20:52:14 +02:00
manage.py First commit 2022-04-19 21:14:01 +02:00
README.md Create README.md 2022-04-19 23:06:51 +02:00
requirements.txt First commit 2022-04-19 21:14:01 +02:00

Complete example of how to create a site with HTML over the Wire architecture in Python using Django, Channels and Stimulus.

  • Change pages.
  • Possibility to hydrate HTML (example with TODO in Home).
  • Log in.
  • Register.
  • Logout.
  • Private area.
  • URL update.
  • Server-Side Rendering (SSR) of pages for SEO.
  • Cross-site request forgery protection over WebSockets.

Run 🏃

docker-compose up

Thanks 😍