Skip to content

Cloudilly/Group-Chat-for-NodeJS-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

#Chat Bot for Hook NodeJS SDK Repository contains sample codes to build a chat bot using Hook NodeJS. Chat bot is complementary to other frontend group chat applications. App just listen passively to the group public, but you can hook it up to do something more interesting, ie perform certain actions when a particular string of text is received.

#####Create app If you have not already done so, first create an account on Cloudilly. Next create an app with a unique app identifier and a cool name. Once done, you should arrive at the app page with all the access keys for the different platforms. Under Hook SDK, you will find the parameters required for your Cloudilly application. "Access" refers to the access keys to be embedded in your server side Hook codes.

Hook Console

#####Instantiate NodeJS server Deploy the below websocket dependency.

npm install --save ws

#####Update Access Insert your "App Name" and "Access". Once done, upload your NodeJS files and run the application. Verify connection to Cloudilly. If you have setup the anonymous chat app for other platforms, you should also test if you can send messages across platforms, ie from Android to Web / iOS and vice versa.

About

Chat bot built using Cloudilly NodeJS SDK. Complementary to other frontend group chat applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published