0.0.1 • Published 4 years ago

hashql-transaction v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

Transaction GraphQL Server

Setup

Install dependencies

$ yarn

Run Transaction Service

  1. Set envvars
$ export MONGODB_URI=mongodb://user:pass@host/dbname
$ export JWT_SECRET=secret
$ export DEBUG=info
$ export NODE_ENV=development
  1. Run
$ yarn start

Run development

$ yarn dev
  1. Access Playground in address http://localhost:4000

  2. Run command to generate a JWT Token to use in playground

$ ../../cmd/generate-jwt-token