Pixie Chat is a real-time chat application designed for local development, allowing users to engage in instant conversations with others. Built using HTML, CSS, JavaScript, and PHP, Pixie Chat offers a seamless chatting experience within a familiar web environment. Utilizing XAMPP and MySQL via PHPMyAdmin, Pixie Chat provides a secure and efficient platform for communication.
- User Authentication: Secure login/signup functionality with credentials handling.
- Real-time Messaging: Instant messaging feature for seamless communication.
- User Dashboard: Display of user activity status (active/offline).
- Integration with XAMPP and MySQL: Utilize local server and database for development.
- Intuitive Interface: User-friendly design for an enjoyable chatting experience.
Before running Pixie Chat, configure the database connection settings in the config.php file. Update the following variables with your MySQL database credentials:
$hostname = "localhost"; // Hostname (usually "localhost" for local development)
$username = "root"; // MySQL username
$password = ""; // MySQL password (leave blank for no password)
$dbname = "chat"; // Database nameOnce updated, save the config.php file.
Follow these steps to set up Pixie Chat on your localhost:
Clone the repository to your local machine:
git clone https://github.com/aarshitaacharya/pixie-chat.gitMove the cloned directory to the 'htdocs' directory in your XAMPP installation path:
Windows: C:\xampp\htdocs
Linux: /opt/lampp/htdocsImport the provided MySQL database dump (chat.sql) into your MySQL database.
Open a web browser and navigate to http://localhost/pixie-chat/index.php.
Start your XAMPP server and ensure MySQL is running.
Register for a new account or log in with existing credentials.
Enjoy real-time chatting with other users!
Contributions are welcome! If you encounter any bugs or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
