Welcome to the Cyber Chat Room! This project is a retro-themed chat application with a cyberpunk vibe. Users can join the chat with a username and send text messages in real-time.
- Retro Cyberpunk Theme: Styled with neon colors and a dark background for a cyberpunk look.
- Real-Time Messaging: Users can send and receive messages instantly.
- Anonymous Chat: No signup required; just enter a username to join the chat.
- HTML: Structure of the web pages.
- CSS: Styling to achieve the retro cyberpunk aesthetic.
- JavaScript: Functionality for chat operations and Firebase integration.
- Firebase: Backend services for authentication, real-time database, and storage.
- Firebase Account: You need a Firebase account to use Firebase services.
- Firebase Configuration: You should have your Firebase project setup with Firestore, Authentication, and Storage.
-
Clone the Repository
git clone https://github.com/mandarwagh9/ChatAPP-.git cd ChatAPP-
-
Create a Firebase Project
- Go to the Firebase Console.
- Create a new project and add Firestore, Authentication, and Storage.
-
Update Firebase Configuration
- Replace the placeholder Firebase configuration in
script.js
with your own configuration from the Firebase Console.
const firebaseConfig = { apiKey: "YOUR_API_KEY", authDomain: "YOUR_AUTH_DOMAIN", projectId: "YOUR_PROJECT_ID", storageBucket: "YOUR_STORAGE_BUCKET", messagingSenderId: "YOUR_MESSAGING_SENDER_ID", appId: "YOUR_APP_ID", measurementId: "YOUR_MEASUREMENT_ID" };
- Replace the placeholder Firebase configuration in
-
Serve the Application
You can use a local server to serve the application. If you have
npm
installed, you can use a simple server likehttp-server
.npm install -g http-server http-server
Navigate to
http://localhost:8080
(or the port displayed) in your web browser to view the chat room.
-
Join the Chat
- Enter a username in the input field on the welcome screen.
- Click the "Join Chat" button to enter the chat room.
-
Send Messages
- Type your message in the input field at the bottom of the chat room.
- Click the "Send" button to send your message.
Feel free to submit issues and pull requests if you want to contribute to the project. Please ensure that any contributions adhere to the project's coding standards and include tests if applicable.
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or suggestions, please contact [email protected].
Enjoy your chat experience with the Cyber Chat Room! 🚀