APIREST service performed for elasticsearch queries
Prerequisites: Node.js (^10.12.0
, or >=12.0.0
) built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.)
You can install packages:
$ npm install
Then you must configure the NODE_ENV
$ set NODE_ENV=stage
// 'stage' for environment develop
// 'production' for environment production
Then execute the following to run the project
// for dev
$ npm start
// for production
$ npm run start
Run in console: npm run test
, the coverage default is 80%.
We can see the coverage file in ./reports/coverage/index.html