Skip to content

PubNubDevelopers/mini-samples

Repository files navigation

Mini samples to show PubNub capabilities

These demos are designed to show high-level features of PubNub, and may omit error handling for clarity. As you create production-quality applications, please speak with us as we can help with code and architecture advice.

Samples in this repository are provided as-is

Samples

Description Source Code Hosted App
PubNub Presence and Presence State code Hosted App
Scroll to Load History code Hosted App

Get Your PubNub Keys

  1. You’ll first need to sign up for a PubNub account. Once you sign up, you can get your unique PubNub keys from the PubNub Developer Portal.

  2. Sign in to your PubNub Dashboard.

  3. Click Apps, then Create New App.

  4. Give your app a name, and click Create.

  5. Copy the Publish and Subscribe keys and provide them to the sample app.

Building and Running

Replace the publish and subscribe key in the sample with your own key. Each sample will either run locally (load index.html in your default browser), or will require you to install prerequisites and install.

Contributing

Please fork the repository if you'd like to contribute. Pull requests are always welcome.

About

Small sample application to demonstrate PubNub presence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published