This is a simple chat application developed using HTML, CSS, JavaScript, and PHP with a database backend. The application allows users to log in, connect with friends or team members, and chat in real-time.
- User authentication: Users can create accounts and log in to access the chat functionality.
- Real-time messaging: Users can send and receive messages in real-time.
- User status: Users can see the online/offline status of their friends or team members.
- Profile picture: Users can upload and display their profile pictures.
- Simple and intuitive interface: The application provides a user-friendly interface for a seamless chatting experience.
- Clone the repository:
git clone https://github.com/your-username/chat-application.git
-
Set up the database:
- Create a MySQL database and import the provided SQL dump file.
- Configure the database credentials in the PHP files (
login.php
,signup.php
,users.php
,chat.php
) located in thesrc/php/
directory.
-
Deploy the application:
- Host the application on a web server with PHP support.
- Make sure the server has the necessary permissions to read and write files.
-
Access the application:
- Open a web browser and navigate to the application's URL.
- Register a new account or log in if you already have an account.
- Start chatting with your friends or team members!
The repository has the following folder structure:
src/
: Contains the source code and assets for the application.php/
: Contains PHP files responsible for user authentication and database operations.styles/
: Contains CSS files for styling the application.scripts/
: Contains JavaScript files for client-side functionality.assets/
: Contains images and other assets used in the application.
Contributions to this chat application are welcome. If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.