ChitChat is a real-time chat application that allows users to connect and communicate with each other instantly. Built with PHP, HTML, CSS, JavaScript, and MySQL, this app provides a seamless chatting experience with user authentication and online status features.
Experience ChitChat in action: ChitChat Live Demo
- User Authentication (Signup and Login)
- Real-time messaging
- User search functionality
- Online/Offline status indicators
- Responsive design for various devices
- PHP
- HTML
- CSS
- JavaScript
- MySQL
To set up ChitChat locally, follow these steps:
-
Clone the repository:
git clone https://github.com/NishalNT/ChitChat.git
-
Go to the folder
cd ChitChat
-
Download and Install XAMPP:
- Download XAMPP from Apache Friends.
- Install XAMPP on your local machine.
-
Copy Folder to XAMPP Directory:
- Copy the application folder to the
htdocs
directory inside your XAMPP installation folder (e.g.,C:\xampp\htdocs\
).
- Copy the application folder to the
-
Start XAMPP:
- Open the XAMPP Control Panel.
- Start the Apache and MySQL modules.
-
Create Database:
- Open your web browser and go to
http://localhost/phpmyadmin
. - Create a new database named
chitchat
. - Import the sql file named
chitchat.sql
- Open your web browser and go to
-
Configure Database Connection:
- Open the
php/config.php
file in the project directory. - Update the database credentials (hostname, username, password, database name) to match your local setup
- Open the
-
Open your web browser and navigate to
http://localhost/ChitChat/index.php
to start using ChatApp.
- Register for a new account or log in with existing credentials.
- Use the search feature to find other users.
- Click on a user to start a chat.
- Send and receive messages in real-time.
- Observe the online/offline status of your contacts.
This project is open source and available under the MIT License.
For any queries or suggestions, please open an issue on the GitHub repository.