Skip to content

gabrielqfernandes/fastify-elasticsearch-js-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastify-ElasticSearch Demo

Description

This is a basic Reminders microsservice with two action routes and one for healchecking:

  • POST /reminders - for indexing data
  • GET /reminders/_search - for searching data based on query params
  • GET / - for making sure everythng is working just fine

You can access Kibana instance on http://localhost:5601


Starting

In order to start adding reminders to your Elastcsearch instance, make sure you have Docker & Docker-Compose installed on your machine. Then, double-check your .env file, and then just run the following command:

docker-compose up

Stopping

docker-compose down