Skip to content
Example app for Soundtrack API.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
scripts
src
.gitignore
LICENSE
README.md
package.json
schema.graphql
yarn.lock

README.md

Soundtrack API | Example app

This is a sample app demonstrating how to implement against the Soundtrack API. The purpose of this app is to get you started, so for the sake of simplicity this is a frontend app.

Please note that you should not build an app where the secrets can be found in the source code. If we find secrets that are exposed, we will block these immediately. We suggest handling the code in a backend and then implement whatever authentication layer that your app needs.

Prerequisites

Terms of use

By using the Soundtrack API, you accept to our Terms of use.

Documentation

The app

The app displays your brands and their sound zones. You can see what is playing on each zone. Both the sound zone data and the now playing data will be updated over web sockets. You can also find paginated queries and how to setup subscriptions.

Running the app

yarn
yarn run get-schema
yarn run relay # or to start a watcher: yarn run relay --watch
REACT_APP_API_CREDENTIALS=your_token yarn start
You can’t perform that action at this time.