Read the full tutorial here: Build a chat application with file sharing functionality The tutorial shows how to build a chat application with file sharing functionality
This demo uses:
- CometChat Pro JavaScript SDK
- ReactJs
- JavaScript
To run the demo follow these steps:
- Clone or download the repository here
- Run the command
npm install or yarn
- Open the
config.js
file and update it with your uniqueappID
andapiKey
const config = { appID: 'YOUR_APPID_HERE', apiKey: 'YOUR_APIKEY_HERE', }; export default config; - Run the app with
npm start or yarn start
🏠 CometChat Homepage 👾 CometChat JS SDK documentation
Installs all the necessary dependencies in the package.json
file
In the project directory, you can run:
npm start
Runs the app in development mode.
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
You will also see any lint errors in the console. This example shows how to build a file sharing chat app with reactjs:
Please find the screenshots inside the screenshot folder