This is a tool implemented for the Bitdaan project that represents data(prediction histories and peak prediction) in graphql format.
A progressive Node.js framework for building efficient and scalable server-side applications.
First of all this app needs to have PostgreSQL connection, so run it then you can change configurations in .env.stage.dev
and .env.stage.prod
files. Don't forget to send auth headers {"Authorization": "Bearer eyJhbG...."}
for mutation addPredictionRecord
.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov