erikAlon / soundcloudql

GraphQL wrapper around the SoundCloud public api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SoundCloudQL Build Status

GraphQL wrapper around the SoundCloud api.

Getting started

Install the dependencies

npm install

Get a SoundCloud api client id, and set it in .env

cp .env.sample .env
vi .env

Run it (with node-foreman)

nf start
npm start -erikalon

You'll find GraphiQL at http://localhost:5000/graphql

Testing

The tests are run with a cache containing a record of api responses. When adding new tests, the api may be called if there are any new calls. The responses are automatically cached in this case.

npm test

You can skip the lint step by running

npm run testonly

Instagram

Twitter

About

GraphQL wrapper around the SoundCloud public api


Languages

Language:JavaScript 100.0%