Skip to content

Latest commit

 

History

History

server

ipfs-search.com search API server

Maintainability Backers on Open Collective Sponsors on Open Collective

Microservice for searching the ipfs-search.com Elasticsearch index.

API Spec

swagger-api validator-badge

Requirements

  • Node 16.x (Gallium/LTS)

Running

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

Docker

The server can be run with Docker as follows:

docker build -t ipfs-search-api .
docker run -it ipfs-search-api