![](/AzeemIdrisi/SwiftChat/raw/main/static/chat/icon.png)
SwiftChat is a web application built with Django that enables users to engage in real-time conversations by entering a chat room through its unique ID. The app leverages AJAX technology to facilitate the seamless exchange of messages, providing an interactive and dynamic user experience.
![](https://private-user-images.githubusercontent.com/112647789/306225537-3236952b-6a96-48d3-b90d-09cfe6b9fb3a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODk3NTcsIm5iZiI6MTczOTQ4OTQ1NywicGF0aCI6Ii8xMTI2NDc3ODkvMzA2MjI1NTM3LTMyMzY5NTJiLTZhOTYtNDhkMy1iOTBkLTA5Y2ZlNmI5ZmIzYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QyMzMwNTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hMWNlODU3YTVjNmFiN2RhNmFlYTk5OGI1MWYzNzNlNjlmNDIyODk3ZThkNzk5ODZhYjVkOTkxYjUxOThjNzY4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.T0wNcE0XY1_B3pk5m8765XB4Oua4qL9lJLtm48SVHRk)
![](https://private-user-images.githubusercontent.com/112647789/306225554-54d9f77f-6a64-4b2d-becf-f1360813be3e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODk3NTcsIm5iZiI6MTczOTQ4OTQ1NywicGF0aCI6Ii8xMTI2NDc3ODkvMzA2MjI1NTU0LTU0ZDlmNzdmLTZhNjQtNGIyZC1iZWNmLWYxMzYwODEzYmUzZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QyMzMwNTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lYzE3ZjYwMDE0MzJkZDg4OWM0NmE1ODcyNGQyODU1YjFkMzhjNzMzYzY2MDE2MDliMTYwOGRhMzIxZTU1ZTExJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.skKajDBqui2C55zW8yxrl5h3wQHZQQxXzBoF9uKcWpg)
-
Real-time Messaging: Experience instant message updates without the need for page refreshes, thanks to the integration of AJAX.
-
Room-based Communication: Users can join chat rooms by entering a specific room ID, allowing for organized and private conversations.
-
User-friendly Interface: The app boasts an intuitive and clean interface, making it easy for users to navigate and participate in conversations.
To run the Django Chat App locally, follow these steps:
-
Clone the repository:
git clone https://github.com/AzeemIdrisi/SwiftChat.git
-
Navigate to the project directory:
cd SwiftChat
-
Install dependencies:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Visit
http://localhost:8000
in your web browser to access the Django Chat App.
-
Access the application through the provided URL.
-
Enter a unique room ID to create or join a chat room.
-
Start sending and receiving messages in real-time.
-
Django: The web framework that forms the backbone of the application.
-
AJAX: Asynchronous JavaScript and XML technology for real-time message updates.
-
SQLite: The default database system used for data storage.