Consume Api Rest from https://gitlab.bfa.ar/blockchain/tsa2/blob/master/
Requirements
- Node.js v10.16.2 [ https://nodejs.org/es/ ]
Install
- Create environment
SWAGGER_PATH = /path-to/api/swagger.json
PORT = SERVER PORT (let default 3080)
- Edit host from api/swagger.json
"host": "localhost"
- Download package
npm install
- Run index.js
npm run serve
- Swagger
url/api-docs