Coder Social home page Coder Social logo

cometchat-pro-tutorials / build-chat-app-with-react-hooks Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 1.0 194 KB

Step-by-step tutorial to build a chat app with React Hooks, complete with presence indicators, typing indicators, and more. https://www.cometchat.com/pro

HTML 4.43% CSS 4.31% JavaScript 91.26%

build-chat-app-with-react-hooks's Introduction

React Chat Widget App With CometChat Pro

This example shows how to build a React chat application using CometChat Pro SDK and React Hooks.

SCREENSHOTS

Login Chat Interface

Jump straight into the code or read the accompanying step-by-step guide here on our blog.

Technology

This demo uses:

Running the demo locally

  • Download the repository here or by running git clone https://github.com/nsebhastian/react-hooks-cometchat.git
  • run npm install
  • You need to sign up for CometChat PRO and create your application first
  • Create an ApiKey. You can use auth-only permission for this application
  • Put your AppID and ApiKey into src/config.js file
  • run npm start
  • A browser will open localhost:3000

Useful links

Other examples

build-chat-app-with-react-hooks's People

Contributors

pushpsenairekar2911 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

manishpoduval

build-chat-app-with-react-hooks's Issues

Cannot send messages

Hi

I have tried the tutorial yesterday and I am having troubles to send messages in the chat.

There is no problem with the login but once I am logged as superhero1 for example I cannot send messages to other users.

Right below you can see the error in the console :

screenshot

I don't know what is wrong but if you have an idea it will be very helpful !

Thanks in advance guys

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.