A simple real-time chat web application built using Python, Django, and Ajax. This project was developed as part of a learning journey to practice web development skills.
The Real-Time Chat Web App is a simple yet powerful web application that allows users to communicate with each other in real-time. The app utilizes the Django web framework.
Chat.App.mp4
- Real-time Messaging: Users can send and receive messages instantly without needing to refresh the page.
- Multiple Chat Rooms: Users can join and participate in different chat rooms, creating separate conversations.
- User Authentication: The app provides a user authentication system, ensuring that only authenticated users can access and participate in chat rooms.
- Responsive Design: The app is designed to be responsive and adaptable to different screen sizes, providing a seamless experience across devices.
The project follows the standard Django project structure, with the following key directories and files:
- djangochat/ # Project root directory
- asgi.py
- settings.py
- urls.py
- wsgi.py
- chat/ # App directory
- admin.py
- apps.py
- models.py
- tests.py
- urls.py
- views.py
- templates/ # HTML templates directory
- home.html
- room.html
- manage.py # Django management script
To get started with the Real-Time Chat Web App, follow these steps:
-
Clone the repository to your local machine using the following command:
git clone https://github.com/Farahat612/Real-Time-Chat.git
-
Navigate to the project root directory:
cd djangochat
-
Install the required dependencies by running:
pip install django
-
Apply database migrations using the following command:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Open your web browser and visit
http://localhost:8000
to access the Real-Time Chat Web App.
-
On the home page, enter a desired chat room name and your username.
-
Click the "Enter Room" button to join the chat room.
-
Once inside the chat room, you can start sending and receiving real-time messages with other participants.
-
To create additional chat rooms, simply enter a new room name on the home page and click "Enter Room" again.
Contributions are welcome! If you have any suggestions, improvements, or bug fixes, please feel free to open an issue or submit a pull request.
The Real-Time Chat Web App is released under the MIT License.
Currently, there are no known issues or limitations with this project.