The Django Chat Application is a web-based platform that allows users to engage in real-time chat conversations with their friends, manage their profiles, send and accept friend requests, and search for other users within the application. This project provides a user-friendly interface for communication and social interaction, utilizing API calls and polling for real-time chat updates.
User Authentication: Users must first log in to access the application. New users have the option to sign up for an account.
User Profiles: Each user has a profile page displaying their information. Users can edit their profile information.
Navigation: The application features a simple UI with the following buttons: “Edit Profile,” “Logout,” and “Search” to allow users to find other users on the platform.
Friend Management: Users can maintain two lists: “Friend List” and “Request List.” Users can click on friend names in these lists to access profiles or start chats.
Chatting: Users can initiate chat conversations by clicking on a friend’s name. Real-time chat functionality is implemented using API calls and polling, enabling near-instant communication.
Friend Requests: Users can send friend requests to others by visiting their profiles. Pending friend requests can be accepted or rejected. Accepted requests add users to each other’s friend lists.
Friend Profile Options: Users can perform actions on friends’ profiles, including “Remove Friend” and “Chat.”
To get started with the Django Chat Application, follow these steps:
Clone the repository to your local machine:
git clone https://github.com/devnamdev2003/django-chat-app.git
Create a virtual environment and install the project dependencies:
cd django-chat-app
python -m venv venv
source venv/bin/activate # On Windows, use: venv\Scripts\activate
pip install -r requirements.txt
Set up the database:
python manage.py migrate
Start the development server:
python manage.py runserver
Open a web browser and navigate to http://localhost:8000/
to access the application.
We welcome contributions from the community! If you’d like to contribute to the project, please follow these guidelines:
This project is licensed under the MIT License.
Here are some screenshots from the Django Chat Application:
Login Page:
Signup Page:
Chat Interface:
Friend Management:
Search Friends
Edit Profile
Profile