This project is a clone of WhatsApp Web built using modern web technologies. It allows users to log in using their Google account, scan a QR code, and access a chat interface. The application is designed to mimic the look and feel of WhatsApp Web while providing a seamless user experience.
- React: A JavaScript library for building user interfaces.
- TypeScript: A strongly typed programming language that builds on JavaScript.
- Vite: A fast build tool and development server.
- Material-UI (MUI): A popular React UI framework for building responsive and accessible components.
- Google OAuth: For user authentication via Google accounts.
- JWT Decode: To decode JSON Web Tokens for user data.
- Google Login: Users can log in using their Google account.
- QR Code Scanning: Mimics the WhatsApp Web login process.
- Chat Interface: A simple chat interface for demonstration purposes.
- Responsive Design: Optimized for various screen sizes.
The project is organized as follows:
src/
components/ # React components for the UI
context/ # Context API for managing global state
constants/ # Static data and constants
assets/ # Static assets like images
App.tsx # Main application component
main.tsx # Entry point of the application
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd chat_with_me - Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and navigate to
http://localhost:3000.
The project can be built and deployed using the following commands:
- Build the project:
npm run build
- Preview the production build:
npm run preview
This project is licensed under the MIT License. Feel free to use and modify it as needed.