This is an example chat application built with Django, React, and Django Channels. The application uses websockets to enable real-time communication between clients.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Docker
- Clone the repository:
git clone https://github.com/wynnteo/chatapp.git
cd chatapp
- Build the Docker images:
docker-compose build
- Run the Docker containers:
docker-compose up
This will start the Django development server and the React development server.
- Access the chatapp:
http://localhost
This will open the chatapp in your browser.
Once you have the chatapp running, you can open multiple browser windows to simulate different clients. When you send a message from one client, all other clients that are connected to the same chatroom will receive the message in real-time.
Wynn Teo