django-chat-app

Django Chat Application

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.

Key Features

User Flow

  1. User logs in or signs up.
  2. On the dashboard, the user can:
    • Edit their profile information.
    • Log out of their account.
    • Search for other users.
    • View their friend list and pending friend requests.
  3. In the friend list and request list:
    • Clicking on a friend’s name opens a chat with them.
    • Clicking on a pending request opens the requester’s profile.
    • Pending requests can be accepted or rejected.
  4. In a friend’s profile:
    • The user can choose to remove the friend or start a chat.

Technology Stack

Project Goals

Future Enhancements

Getting Started

To get started with the Django Chat Application, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/devnamdev2003/django-chat-app.git
    
  2. 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
    
  3. Set up the database:

    python manage.py migrate
    
  4. Start the development server:

    python manage.py runserver
    
  5. Open a web browser and navigate to http://localhost:8000/ to access the application.

Contributions

We welcome contributions from the community! If you’d like to contribute to the project, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with clear, descriptive commit messages.
  4. Push your branch to your fork.
  5. Create a pull request to merge your changes into the main project.

License

This project is licensed under the MIT License.

Images

Here are some screenshots from the Django Chat Application:

Login Page:

Login

Signup Page:

Signup

Chat Interface:

Chat Interface

Friend Management:

Friend Management

Search Friends

Search Page

Edit Profile

Edit Profile

Profile

Profile