MihirChhabria / chattingapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Chat Application

This application chat platform developed using Django and Django Channels, offering a range of features including account creation, login functionality, real-time visibility of online users, and the ability to initiate chats with those currently active.

Features

  • User registration and authentication.
  • Real-time chat using Django Channels and WebSocket.
  • Online user status display.
  • Responsive design for both desktop and mobile devices.

Installation

  1. Clone the repository to your local machine.
  2. Create a virtual environment (Virtualenv env) and activate it (.\env\Scripts\activate).
  3. Intall the project dependencies. (pip install -r requirements.txt).
  4. Apply database migrations.
  5. Start the development server (python manage.py runserver).
  6. Access the application in web browser at http://127.0.0.1:8000/chat/.

API Endpoints

  • User registration: http://127.0.0.1:8000/chat/register
  • User login: http://127.0.0.1:8000/chat/login
  • Create/ Join room: http://127.0.0.1:8000/chat/
  • Chat room: http://127.0.0.1:8000/chat/<your_chat_room>/

Screenshots of project

Register:

register

Login:

login

Home Screen:

room

Chatting Interface:

chatapp

About

License:MIT License


Languages

Language:Python 64.5%Language:HTML 31.7%Language:CSS 3.7%