Skip to content

ippy04/layer-js-sampleapps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample apps using Layer Web SDK

This repository contains sample chat applications that use Layer Web SDK to demonstrate how one would use the SDK to build a simple chat application using one of these three popular frameworks:

Each sample app implementation is framework specific and not necessarily a demonstration of best practice.

The Web SDK

The Web SDK in all samples is loaded via script tag directly from our CDN. For more information on how the Web SDK works, see Web SDK Docs.

Authentication and identity

For demonstration purposes Layer provides a sample authentication endpoint which works for Layer Staging Applications only and a hard-coded list of users. It exposes a global window.layerSample utility and injects an initial HTML login dialog.

Layer Staging Application IDs can be found in your Developer Dashboard.

In real application this should be replaced with your own authentication mechanism and manage your own user identities.

About

Various sample apps using Layer Web SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages