TSA2 SWAGGER

Consume Api Rest from https://gitlab.bfa.ar/blockchain/tsa2/blob/master/

Requirements

- Node.js  v10.16.2 [ https://nodejs.org/es/ ]

Install

  1. Create environment
        SWAGGER_PATH = /path-to/api/swagger.json
        PORT = SERVER PORT (let default 3080)       
  1. Edit host from api/swagger.json
        "host": "localhost"
  1. Download package
        npm install
  1. Run index.js
        npm run serve
  1. Swagger
        url/api-docs