Giter VIP home page Giter VIP logo

communications-api-token-server-netlify's Introduction

Dolby.io Communications API Token Server

Using a token for initialization of our SDK follows our best practice for securing your application.

This token server example is targeted for deployment with Netlify Functions. The primary function may adapted for other function as a service on other platforms.

How to Install and deploy this project on Netlify:

  • First you'll need an API key and API secret to comunicate with the Dobly APIs. To create those:

    • Select the SIGN IN link located in the upper right corner of the Dolby.io page.
    • Log in using your email and password. Click the DASHBOARD link visible in the upper right corner of the website.
    • Create a new application or select an existing application from the APPLICATIONS category located on the left side menu.
    • Select the API Keys category from the drop-down menu visible under your application.
    • In the Communications APIs section, you can access your Consumer Key and Consumer Secret.
  • Now that you have your API credentials, you can clone this example project and deploy it to the web using Netlify.

    • Clicking Deploy to Netlify will set this all up for you, taking you to your new project admin in Netlify
    • Netlify will ask you for a name for the new repository it will create for you, and for you to provide the CONSUMER_KEY and CONSUMER_SECRET you created to authenticate with Dolby, which it will store as environment variables.
    • Once it has deployed, you'll find your project's URL at the top of the site overview page in your Netlify admin, and you'll be able to visit it and navigate to your site's token generator function.

Local installation:

if you want to edit or modify your project just pull down your copy from your GitHub (or GitLab).

git clone <your name or repo organization> /communications-api-token-server-netlify
cd communications-api-token-server-netlify
npm install

Pushing changes to your repository will autromatically trigger a fresh deployment in Netlify.

communications-api-token-server-netlify's People

Contributors

dzeitman avatar philhawksworth avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.