ipfs-search.com search API server
Microservice for searching the ipfs-search.com Elasticsearch index.
- Node 16.x (Gallium/LTS)
Open the server folder and run:
npm install
npm start
This will start an API server listening on port 9615, expecting Elasticsearh to be available on port 9200 on the localhost. A different Elasticsearch server can be configured by setting the ELASTICSEARCH_URL
environment variables, like such:
env ELASTICSEARCH_URL=http://elasticsearch:9200 npm start
The server can be run with Docker as follows:
docker build -t ipfs-search-api .
docker run -it ipfs-search-api