Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 886 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 886 Bytes

GigMap API

CircleCI Coverage Status

Config

Environment variables for the app config:

  • SONGKICK_API_KEY - required
  • FRONTEND_ORIGIN - required, web app origin for CORS
  • SONGKICK_BASE_URL - not required, set by default
  • MAX_TIME_PERIOD - not required, unlimited by default; max time period (in days) user can request concerts for
  • MAX_REQUEST_SIZE - not required, 5mb by default; max size of json data accepted
  • PORT - not required, 4000 by default

Run for Development

npm i
npm run dev

Run in Docker

docker build --build-arg SONGKICK_API_KEY=<KEY> -t <NAME> .
docker run -p <PORT:PORT> <NAME>