gabrielqfernandes / fastify-elasticsearch-js-demo

Just experimenting with the Elasticserach plugin for Fastify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Just experimenting with the Elasticserach plugin for Fastify

License:MIT License


Languages

Language:JavaScript 95.1%Language:Dockerfile 4.9%