- npm >= 6
- node >= 8
-
Clone the repository
git clone https://github.com/panosc-eu/search-api.git
-
Install node packages
npm install
-
Start the server
npm start
-
Optionally enable PaNET ontology fetching from an external URL (if this step is skipped no PaNET ontology is used)
export PANET_BASE_URL=<the URL of the deployed pan-ontologies-api service>
-
Try out the API using the example queries, either through http://localhost:3000/explorer or Curl.
npm test