Giter Site home page Giter Site logo

venu123143 / whatsapp Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 28.92 MB

WhatsApp Clone with React, Vite, and TypeScript

Home Page: https://whatsapp-chat-imbu.onrender.com/

JavaScript 0.40% HTML 0.61% TypeScript 94.90% CSS 4.09%
audio-call chat-application emojis group-chats instant-messaging react read-receipts socket-io socketio-server status-updates

whatsapp's Introduction

This project is a WhatsApp-like messaging application built with a modern tech stack, including React, Vite, and TypeScript. It provides a wide range of features such as real-time communication, group chats, user authentication with OTP, and message management functionalities.

You can check the hosted version of this project here https://whatsapp-chat-imbu.onrender.com/.

Key Features

  • Authentication: User login with OTP for secure access.
  • Chat Functionalities: Group chats, individual chats, media sharing (photos, voice recordings), message replies, editing, and deletion.
  • User Profiles: Customizable profile pictures, names, and bios.
  • Video Call: One to One and Group video call feature is implemented using webrtc.
  • Real-time Communication: Enabled by Socket.io.
  • State Management: Managed with Redux and Redux Toolkit.
  • Validation and Forms: Utilizes Formik and Yup for form handling and validation.
  • UX/UI Components: React Router for navigation, React Select for dropdowns, React Toastify for notifications, and React Spinners for loading indicators.
  • Design and Styling: Tailwind CSS for styling and React Icons for icons.
  • Responsive: This website is fully responsive for the all types of devices.

Technology Stack

  • Frontend: React + Vite, TypeScript, Tailwind CSS
  • Backend: Node.js, Express.js, JWT Tokens
  • Database: MongoDB
  • Real-time Communication: Socket.io
  • Video Call: WebRTc
  • State Management: Redux with Redux Toolkit

Libraries and Dependencies

The following libraries and dependencies are used in this project:

  • Frontend Dependencies:

    • react, react-dom, react-router-dom
    • @reduxjs/toolkit, react-redux
    • formik, yup, axios
    • emoji-picker-react, react-dropzone, wavesurfer.js
    • react-select, react-toastify, react-icons, react-spinners
    • socket.io-client
  • Frontend Dev Dependencies:

    • @vitejs/plugin-react-swc
    • typescript, @typescript-eslint/eslint-plugin, @typescript-eslint/parser
    • eslint, eslint-plugin-react-hooks, eslint-plugin-react-refresh
    • postcss, autoprefixer, tailwindcss

Project Screenshots

1. Login Page

Login Page

Description: This is the login page where users can authenticate using an OTP. The UI is designed for a simple and secure login experience.

2. Home Page

Home Page

Description: The home page shows the list of active chats and groups. Users can start new conversations, join groups, or continue existing chats.

3. Profile Page

Profile Page

Description: This is the profile page where users can customize their profile picture, name, and bio. They can also manage personal settings and account information.

Home page Gif

Setup and Development

Environment Variables

To run this project locally, you need to set some environment variables. Create a .env file in the root directory of your frontend and add the following variables:

VITE_API_CLIENT_URL=http://localhost:5000/api
VITE_API_SOCKET_URL=http://localhost:5000
VITE_API_CALLS_URL=http://localhost:5000/calls

whatsapp's People

Contributors

maninder-iw avatar venu123143 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dsyemen

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.