rehmangour04 / comet-sample-react-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CometChat

React Sample App by CometChat

This is a reference application showcasing the integration of CometChat's React UI Kit within a React framework. It provides developers with examples of implementing real-time messaging and voice and video calling features in their own React-based applications.

Prerequisites

  • Ensure that you have Node.js and npm installed:

      npm install npm@latest -g
  • Sign up for a CometChat account to get your app credentials: App ID, Region, and Auth Key

Installation

  1. Clone the repository:
      git clone https://github.com/cometchat/cometchat-sample-app-react.git
  2. Navigate to the cloned directory:
      cd cometchat-sample-app-react
  3. Install dependencies:
      npm install
  4. Enter your CometChat App ID, Region, and Auth Key in the src/AppConstants.ts file: https://github.com/cometchat/cometchat-sample-app-react/blob/ce2a0d3460cabd9f0500f499c008ca930111f842/src/AppConstants.ts#L1-L7
  5. Run the project locally to see all CometChat features in action:
      npm run start
    

Help and Support

For issues running the project or integrating with our UI Kits, consult our documentation or create a support ticket or seek real-time support via the CometChat Dashboard.

About

License:Other


Languages

Language:TypeScript 99.2%Language:HTML 0.8%Language:CSS 0.0%