NodeJS // Elasticsearch // REST-API
This example demonstrates how to combine NodeJS and Elasticsearch via a RESTful application.
Dependencies
- Node
- Elastichsearch
Installation
git clone https://github.com/mingw-io/nodejs-elasticsearch
Steps
-
Start ElasticSearch Server (elasticsearch.bat on Windows)
-
Start NodeJS server
-
Verify the NodeJS app: http://localhost/ & https://localhost:3001/
-
Run Postman application (Remember to go to: Settings - Settings - Certificates - Add rootca.pem)
-
Make the following request: POST https://localhost:3001/api/v1/create-index
Get List of Students
TLS Certificates