This is a simple real-time chat application built by Potato Power Team using Django Channels for the backend and HTML, CSS, and Vanilla JavaScript for the frontend. It allows users to engage in real-time chat conversations with others.
- Choyee Myae
- Nhan Ha
- Nitisuk Tatiyasuntorn
- Tan Dao
- Real-time chat with WebSocket support.
- User authentication and registration.
- Chat rooms for organizing conversations.
- Simple and intuitive user interface.
Before running this application, ensure you have the following prerequisites installed:
- Python 3.9 or higher
- Django
- Channels
- Docker
- Redis (for WebSocket support)
- Clone and setup
-
Clone the project's repository Run
git clone https://github.com/your-username/chat-app.git
-
Set up a virtual environment
-
Install "virtualenv" library Run
pip install virtualenv
-
Create a virtual environment
virtualenv <env_name>
(replace <env_name> with the name you'd like to give to your virtual environment) -
Activate the virtual environment by running the following command:
``<env_name>\Scripts\activate`` for Window ``source <env_name>/bin/activate`` for Unix or Linux
-
Install dependencies
pip install -r requirements.txt
-
Run the Redis server:
docker run --rm -p 6379:6379 redis:7
-
Run the application:
Note: Make sure you are in the folder contains the file called "manage.py"
python manage.py runserver
-
-