Alvalens / react-realtime-chat

A simple realtime chat group based webapp using react JS and firebase, without websocket
https://react-chat-rouge.vercel.app
GNU General Public License v3.0
37 stars 8 forks source link
chat chat-application react react-firestore reactjs reactjs-chat realtime-chat-webapp

React Real-time Chat

visitor badge

Experience the power of real-time communication with the Realtime Group Chat WebApp – my ambitious project that delves into the world of interactive web development using React. As my second major project, this venture is aimed at expanding my skill setand learning new concepts within the realm of React and real-time applications. If you find any bugs or have suggestion just contact me!

JavaScript React Vite Firebase React Router TailwindCSS DaisyUI

Features

Installation

  1. Ensure you have pnpm installed. If not, you can install it using:

    npm install -g pnpm
  2. Clone the repository:

    git clone https://github.com/Alvalens/react-realtime-chat.git
  3. Navigate to the project directory:

    cd react-realtime-chat
  4. Copy the .env.example rename to .env and fill the envoritment variable.

    VITE_REACT_APP_API_KEY=
    VITE_REACT_APP_AUTH_DOMAIN=
    VITE_REACT_APP_PROJECT_ID=
    VITE_REACT_APP_STORAGE_BUCKET=
    VITE_REACT_APP_MESSAGING_SENDER_ID=
    VITE_REACT_APP_APP_ID=
    VITE_REACT_APP_MEASUREMENT_ID=
  5. Install dependencies:

    pnpm install
  6. Start the development server

    pnpm run dev

Usage

You can access these pages after you login with google or github in the home page

Chat Home

Chat Page

Contributing

Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or submit a pull request.

License

This project is licensed under the GPL-3.0 License seethe LICENSE file for details.