Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lenixbyte/django-chatapp
https://github.com/lenixbyte/django-chatapp
chat-application django python3 websockets
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lenixbyte/django-chatapp
- Owner: lenixbyte
- Created: 2025-01-14T09:09:19.000Z (14 days ago)
- Default Branch: master
- Last Pushed: 2025-01-14T10:03:33.000Z (14 days ago)
- Last Synced: 2025-01-14T10:46:22.414Z (14 days ago)
- Topics: chat-application, django, python3, websockets
- Language: HTML
- Homepage: https://priyankabhardwaj.pythonanywhere.com/
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.MD
Awesome Lists containing this project
README
# Setup Instructions
## Prerequisites
Ensure that the following are installed on your system:
1. **Python** (version 3.8 or higher recommended)
2. **pip** (Python package installer)
3. **Virtualenv** (optional but recommended for isolating dependencies)## Steps to Set Up the Project
### 1. Clone the Repository
```bash
git clone https://github.com/lenixbyte/django-chatapp.git
cd django-chatapp
```### 2. Create a Virtual Environment
```bash
python -m venv venv
source venv/bin/activate # For Linux/Mac
```### 3. Install Dependencies
```bash
pip install -r requirements.txt
```### 4. Apply Migrations
Set up the database by running the migrations:
```bash
python manage.py migrate
```### 5. Run the Development Server
Start the Django development server:
```bash
python manage.py runserver
```
By default, the server will run on `http://127.0.0.1:8000`.## Project Features
1. **Signup and Login:** Users can register and log in.
2. **Chat Interface:** A collapsible menu displays all registered users. Logged-in users can initiate chats with others.
3. **Message History:** Chat messages are stored in the database and retrieved for display.
4. **WebSocket Support:** Real-time chat functionality enabled via WebSocket.