Get Started with ReactiveSearch API using Docker

Deploy locally or to any cloud with our Docker setup

Our awesome features
Setup the Elasticsearch cluster

First, we will create a network docker network create reactivesearch Next, we will run Elasticsearch docker run -d --rm --name elasticsearch -p 9200:9200 -p 9300:9300 --net=reactivesearch -e "discovery.type=single-node" ℹ️  You can skip this step if your Elasticsearch is hosted with cloud or Elastic.

Our awesome features
Prepare Config File

Create a file config.env with the following values: ES_CLUSTER_URL=http://elasticsearch:9200 USERNAME=${SET_USERNAME} PASSWORD=${SET_PASSWORD} ℹ️  If your Elasticsearch is secured with Basic Auth, you can enter the credentials in the URL itself as a prefix to the domain, e.g. http://user:[email protected]:9200 ℹ️  If your Elasticsearch is hosted in cloud and accessible over TLS only, you can use this format: https://user:[email protected]

Our awesome features
Run ReactiveSearch API Server

docker run --rm --name reactivesearch -p 8000:8000 --net=reactivesearch --env-file=config.env appbaseio/reactivesearch-api ℹ️   To run a specific version, see all the available versions over here. curl localhost:8000 -u $USER:$PASS should now display the following output.

Building with ReactiveSearch API

Check out these links to build with ReactiveSearch API

Using ReactiveSearch API with OpenSearch?

Read out getting started page with an OpenSearch cluster.