https://github.com/ashiqyousuf/django-chat-app
Simple Django Chat Application
https://github.com/ashiqyousuf/django-chat-app
django djangochannels html-css-javascript redis-server
Last synced: 10 months ago
JSON representation
Simple Django Chat Application
- Host: GitHub
- URL: https://github.com/ashiqyousuf/django-chat-app
- Owner: ashiqYousuf
- Created: 2023-03-13T15:33:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T04:31:57.000Z (over 3 years ago)
- Last Synced: 2024-12-01T22:35:21.772Z (over 1 year ago)
- Topics: django, djangochannels, html-css-javascript, redis-server
- Language: Python
- Homepage:
- Size: 167 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django Chat Application
This is a simple chat application built using Django. It allows multiple users to join and communicate in real-time via a chat room.
# Getting Started
To get started with this project, follow these steps:
*Clone the repository to your local machine* \
*Create a virtual environment using virtualenv* \
*Activate the virtual environment* \
*Install the required packages using pip install -r requirements.txt* \
*Run the migrations using python manage.py migrate.* \
*Start the development server using python manage.py runserver* \
*Now you can navigate to http://localhost:8000/ to see the chat application in action* \
# Usage
To use the chat application, simply enter a username and click on the "Join Chat" button. You will then be redirected to the chat room where you can communicate with other users in real-time.
# Features
* Real-time communication via websockets.
* Simple and intuitive user interface.
# Technologies and Tools Used
* Python
* Django
* Django Channels
* JavaScript
* HTML
* CSS
* Django Templates
* Redis
# How to Run the project
1. Create superusers from admin panel ex: **john** and **tim** and Login them from different instances of your web browser
2. If you want to make a websocket connection between them , then from **Johns** Interface type the URL **'127.0.0.1:8000/chat/tim'** implies John wants to talk to tim and from **Tims** interface run **'127.0.0.1:8000/chat/john'**.
3. Do not forget to run **redis-server**
# Contributions
Contributions to this project are welcome.
# A short glimpse

