This is a simple backend focused chat application, created with django and htmx. There is 0% trace of javascript in the source code :) HTMX abstracts away the usage of Javascript for connecting and interacting with the websockets and other protocols.
Demo:
chat-app-demo.webm
- Create Rooms
- Join Room with code
- Send and Recieve Message
- python 3.10
- django 4.1
- channels
- htmx > 1.8.5
- Clone the repository
git clone https://github.com/Mr-Destructive/django-htmx-chat
- Create a python virtual environment
python -m venv venv
source venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
- Make Migrations:
python manage.py migrate
- Run the Server:
python manage.py runserver