Skip to content

techadmin-x/javascript-reactjs-chat-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Javascript Reactjs Demo app (built using CometChat Pro) is a fully functional messaging app capable of one-on-one (private) and group messaging. The app enables users to send text and multimedia messages like audio, video, images, documents.

Table of Content

  1. Screenshots

  2. Config Development Environment

  3. Config Chat App

  4. Run the Sample

  5. Contributing

Screenshots

Fig : Login page embedded in Website



Fig : Chat Application embedded in Website





Config Development Environment

Setup your development environment for Reactjs Sample.

If you don't have node install, Please download appropriate version from official website: Nodejs.org

Once node and npm is installed successfully. You can verify from running following command :

node -v
npm -v

Now you are ready to sync application dependencies. Please follow the following steps:

  1. Install packages
npm install

Please Check package.json file for the dependency list.

Config Chat App

If you want to put some changes into the demo app, you should build it using webpack. demo app uses Webpack version : 4+

To know more about Webpack, visit Webpack official documentation : HERE

Please change appId and apiKey in src/js/lib/cometchat/ccmanager.js to the provided credentials.

Studio Guide

Run the Demo App

  1. Test the demo app

You can test the demo app with local server by running the following command.

npm run dev

Navigate to localhost:8080 to check sample app. You can update host in package.json file.

  1. Build the sample

When the modification is complete, you'll need to bundle the file using webpack. The bundled files are created in the test folder.

Please check webpack.config.js for settings.

npm run build

Contribute

Feel free to make a suggestion by creating a pull request.

About

ReactJS Chat App (Includes 100% Ready UI)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.5%
  • CSS 15.9%
  • Shell 1.3%
  • HTML 0.3%