Skip to content

Api Rest for search documents in elasticsearch. This project is build with koa.

Notifications You must be signed in to change notification settings

HugoRoca/apirest-search-elasticsearch

Repository files navigation

API REST Search

APIREST service performed for elasticsearch queries

Installation and Usage

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

Test

Run in console: npm run test, the coverage default is 80%.

We can see the coverage file in ./reports/coverage/index.html

test-image

About

Api Rest for search documents in elasticsearch. This project is build with koa.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published