Giter Club home page Giter Club logo

whatsapp-clone's Introduction

WhatsApp Clone

WhatsApp Clone is a web-based chat application inspired by WhatsApp. This project includes both the frontend, built with React, and the backend, built with Spring Boot.

Table of Contents

Features

  • Real-time chat functionality.
  • User authentication and registration.
  • Group chat creation.
  • Sending text messages and attachments.
  • User profile management.
  • Message timestamps and read receipts.

Technologies Used

  • Frontend:

    • React
    • Redux for state management
    • Material-UI for UI components
    • WebSocket for real-time messaging
    • Tailwind CSS
  • Backend:

    • Spring Boot
    • Spring Security for authentication
    • Spring Data JPA for data persistence
    • WebSocket for real-time messaging
    • MySQL for database storage

Getting Started

Follow these instructions to set up and run the WhatsApp Clone on your local machine.

Prerequisites

Installation

  1. Clone the repository:

    git clone [email protected]:dipenbhat557/Whatsapp-clone.git

  2. Navigate to the frontend directory:

cd whatsapp-clone/frontend

  1. Install frontend dependencies:

npm install

  1. Navigate to the backend directory:

cd ../backend

  1. Open the application.properties file and configure your database settings and JWT secret:

spring.datasource.url=jdbc:mysql://localhost:3306/whatsapp spring.datasource.username=root spring.datasource.password=password ... jwt.secret=your-secret-key

  1. Build and run the backend:

./mvnw spring-boot:run

  1. Now, navigate back to the frontend directory:

cd ../frontend

  1. Start the React development server:

npm start

  1. The WhatsApp Clone should now be running. Access it in your web browser at http://localhost:3000.

Usage

  1. Register a new account or log in with an existing one.
  2. Create or join group chats.
  3. Start sending and receiving messages in real-time.
  4. Manage your user profile and settings.

Contributing I welcome contributions from the community! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix: git checkout -b feature/my-feature or git checkout -b bugfix/my-bugfix.
  3. Commit your changes and push them to your fork: git commit -m "Add a new feature" and git push origin feature/my-feature.
  4. Create a pull request to the main branch of the original repository.

whatsapp-clone's People

Contributors

dipenbhat557 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.