/elasticsearch-api

:mag_right: A simple search API developed using Node.js and Elasticsearch

Primary LanguageTypeScriptMIT LicenseMIT

🔎 elastic-search-api

A simple search API using Node.js and Elasticsearch

GitHub language count GitHub repo size Made by Daniel Cunha GitHub last commit License

🚀 Technologies

🔥 Usage

To use this project you'll basically have to clone it using Git and run it using Docker.

# Cloning the repository
git clone https://github.com/danielccunha/elasticsearch-api.git
cd elasticsearch-api

# Running it with Docker on http://localhost:3333
docker-compose up -d

Then, on your browser, navigate to http://localhost:3333/search?query=IT and the response should look something like this:

[
  {
    "ticker": "ITUB3",
    "identifier": "BANCO ITAU UNIBANCO ON"
  },
  {
    "ticker": "ITUB4",
    "identifier": "BANCO ITAU UNIBANCO PN"
  },
  {
    "ticker": "ITEC3",
    "identifier": "ITAUTEC ON"
  },
  {
    "ticker": "ITSA3",
    "identifier": "ITAUSA ON"
  },
  {
    "ticker": "ITSA4",
    "identifier": "ITAUSA PN"
  }
]

📝 License

This project is licensed under the MIT License - see the LICENSE file for details