A GraphQL gateway for r-spacex/SpaceX-API
# clone the repository
$ git clone https://github.com/kevinstd/spacex-graphql-gateway.git
# copy the example env file
$ cp .env.example .env
# install dependencies
$ yarn
# development mode
$ yarn start
# production mode
$ yarn build && yarn serve
NOTE: If you run on production mode make sure to change the value of
NODE_ENV
in the.env
file toproduction
- The GraphQL endpoint
- /graphql
# static analysis
$ yarn static:analysis
# unit test
$ yarn test:unit