/npr-api

A GraphQL API for searching NPR member stations

Primary LanguageJavaScriptMIT LicenseMIT

npr-api

A GraphQL API for querying information about NPR member stations. Uses the RediSearch database available here.

Requirements

  • Node ~14.10.1
  • Docker
  • docker-compose

Developing

Grab Node.js v14.10.1 or just use nvm.

nvm use

Install dependencies.

yarn

Run locally with docker-compose up. This will build the images for the API and database (if necessary) and make the application available at http://localhost:3000

Testing

Use yarn test to run the unit tests.