Skip to content

Kopal05/ChatRoom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatRoom

ChatRoom is a simple chat room application built using HTML, CSS, JavaScript, PHP, and MySQL. It allows users to register, log in, and chat with each other in real-time.

Table of Contents

Features

  • User Registration: New users can register with a username and password.
  • User Login: Returning users can log in with their credentials.
  • Real-time Chat: Users can send and receive messages in real-time.
  • User Authentication: Ensures that only registered users can access the chat room.

Installation

  1. Clone the repository:
    git clone https://github.com/HEYADITI1/ChatRoom.git
  2. Navigate to the project directory:
    cd ChatRoom
  3. Set up the database:
  • Import the provided SQL file (chatroom.sql) into your database management system (e.g., phpMyAdmin).
  • Update the database configuration in php/db.php with your database credentials.
  • Start the local server (e.g., using XAMPP, WAMP, or MAMP):
  1. Move the project directory to the htdocs folder if you're using XAMPP.
  • Start Apache and MySQL from the XAMPP control panel.
  1. Usage
  • Open your web browser and navigate to http://localhost/ChatRoom.
  • Register a new account or log in with an existing account.
  • After logging in, you will be redirected to the main chat room page.
  • Start chatting with other registered users in real-time.

Screenshots

1.Login Page/Registration Page

Screenshot (298)

3.Chat Room

Screenshot (299) Screenshot (301)

Technologies Used

Frontend:

HTML CSS JavaScript

Backend:

PHP MySQL

Contributing

Contributions are welcome! Please follow the steps below to contribute to this project:

Fork the repository.

  • Create your feature branch (git checkout -b feature/new-feature).
  • Commit your changes (git commit -am 'Add some feature').
  • Push to the branch (git push origin feature/new-feature).
  • Create a new Pull Request.

About

It is a chatting platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 59.5%
  • CSS 29.5%
  • JavaScript 11.0%