Skip to content

πŸš€ WhatsApp Clone is a powerful real-time chat app built with Firebase, offering features like one-to-one and group chats, profile customization, secure login, and seamless messaging. Stay connected with an app designed for speed, simplicity, and reliability!

Notifications You must be signed in to change notification settings

Sandy-7061/Whats_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± WhatsApp Clone

πŸš€ WhatsApp Clone is a feature-packed chat application that replicates the functionality of WhatsApp. Built using Firebase, it provides a seamless messaging experience with one-to-one chat, group chat, profile management, secure registration and login, and much more!


✨ Key Features

  • πŸ’¬ One-to-One Chat: Communicate instantly with friends and family in private conversations.
  • πŸ‘₯ Group Chat: Create or join groups to chat with multiple people simultaneously.
  • πŸ–ΌοΈ Profile Management: Customize your profile with a name, photo, and status.
  • πŸ” Registration & Login: Secure user authentication using Firebase Authentication.
  • πŸ•’ Real-Time Messaging: Messages update in real-time with Firebase Realtime Database.
  • 🟒 User Presence: Show online/offline status to stay updated with your contacts’ activity.
  • πŸ“· Media Sharing (optional): Share images, videos, or files within chats.
  • πŸ”„ Data Synchronization: All messages, media, and profiles sync across devices in real-time.

πŸ“‚ Project Structure

Here's a detailed breakdown of the app's structure:

1️⃣ Frontend (Android)

  • Language: Java/Kotlin
  • UI Components:
    • Login and Registration screens
    • Chat screens for one-to-one and group chats
    • Profile screen with editable details
    • Group creation and management screen
    • Setting screen

2️⃣ Backend (Firebase)

  • Firebase Authentication: Handles user registration, login, and secure sessions.
  • Firebase Realtime Database: Stores messages, user details, and group chat data.
  • Firebase Storage: Manages user profile pictures and shared media.

πŸ› οΈ Setup Instructions

Follow these steps to set up the project on your local machine:

Step 1: Clone the Repository

git clone https://github.com/Sandy-7061/Whats_App.git
cd Whats_App  

Step 2: Open the Project in Android Studio

  1. Open Android Studio.
  2. Click on File > Open and select the project folder.

Step 3: Configure Firebase

  1. Go to the Firebase Console.
  2. Create a new project.
  3. Add an Android app and download the google-services.json file.
  4. Place the google-services.json file in the app/ directory.

Step 4: Add Dependencies

Ensure the following dependencies are included in your build.gradle file:

implementation 'com.google.firebase:firebase-auth:xx.x.x'  
implementation 'com.google.firebase:firebase-database:xx.x.x'  
implementation 'com.google.firebase:firebase-storage:xx.x.x'  
implementation 'com.github.bumptech.glide:glide:4.12.0'  

Step 5: Run the Application

  • Sync Gradle files.
  • Build and run the app on an emulator or a physical device.

πŸ“‚ File Structure

πŸ“ whatsapp-clone  
β”œβ”€β”€ πŸ“ app  
β”‚   β”œβ”€β”€ πŸ“ src  
β”‚   β”‚   β”œβ”€β”€ πŸ“ main  
β”‚   β”‚   β”‚   β”œβ”€β”€ πŸ“ java  
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ πŸ“ com.example.whatsappclone  
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ MainActivity.java    # Entry point of the app  
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ChatActivity.java    # Handles chat screen functionality  
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ GroupActivity.java   # Manages group chats  
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ProfileActivity.java # Handles profile updates  
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ AuthActivity.java    # Manages login and registration  
β”‚   β”‚   β”‚   β”‚   β”‚   └── ...                  # Other files  
β”‚   β”‚   β”‚   β”œβ”€β”€ πŸ“ res  
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ πŸ“ layout                # XML layout files for UI screens  
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ πŸ“ drawable              # App icons and images  
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ πŸ“ values                # Strings, colors, and styles  
β”‚   β”‚   β”‚   β”‚   └── ...  
β”œβ”€β”€ πŸ“ build.gradle                          # Gradle configuration  
β”œβ”€β”€ πŸ“„ google-services.json                  # Firebase configuration file  
└── ...  

πŸ‘€ Owner Information

Sandeep Kushwaha
πŸ“± 7024520740
πŸ“§ sandeepkush880@gmail.com


πŸš€ Future Enhancements

  • 🌟 Add voice and video calling features.
  • 🎨 Introduce themes for a personalized experience.
  • πŸ”” Push notifications for message alerts.
  • πŸ”’ End-to-end encryption for enhanced privacy.

Feel free to contribute or reach out for any queries! 😊

About

πŸš€ WhatsApp Clone is a powerful real-time chat app built with Firebase, offering features like one-to-one and group chats, profile customization, secure login, and seamless messaging. Stay connected with an app designed for speed, simplicity, and reliability!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages