Skip to content

Latest commit

 

History

History

SDKSearchAngularSample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Rainbow SDK for Web

Preamble

The Rainbow SDK (Software Development Kit) for Web is a JavaScript library that works on all modern browsers from IE 11 to the latest version of Chrome, Firefox, Safari and Edge. Its powerful APIs enable you to create the best applications that connect to the Rainbow Cloud Services.

SDK Angular Search Angular Sample

This demo is provided "as is" without support.

This demo demonstrates the use of the following Rainbow SDK for Web APIs:

  • Connection Service: The demo shows how to use these APIs to connect to Rainbow

  • Contacts Services: Using these services, the demo shows how to search for contacts into the Rainbow database and how to subscribe and listen to contacts invitations

Starting the demo

Before running any of the files mentioned below, run npm install in the root folder. That will install the latest version of Rainbow Web SDK along with the basic http-server.

Once this is done, update the appId and appSecret variables in src/js/sdkSampleApp.js file. If you don't know where can you get your Application ID and Application Secret from, check our guide.

Then, depending on your operating system, run the following command in the root folder:

  • Linux/MacOS: npm run start
  • Windows: npm run start-win

At the end, open your browser on `http://localhost:8887/ .