Skip to content

panosc-eu/search-api

Folders and files

NameName
Last commit message
Last commit date
May 6, 2020
May 6, 2020
Mar 17, 2020
May 6, 2020
Feb 25, 2022
Feb 8, 2022
Feb 8, 2022
Mar 23, 2021
Feb 25, 2022
May 6, 2020
May 6, 2020
May 6, 2020
May 6, 2020
May 6, 2020
May 6, 2020
Sep 24, 2019
May 6, 2020
Sep 24, 2019
May 6, 2020
Jan 14, 2020
Sep 27, 2019
May 6, 2020
Jan 14, 2020
Feb 8, 2022
Apr 29, 2022
Feb 8, 2022

Repository files navigation

Photon and Neutron Search Api

Documentation

Prerequisites

  • npm >= 6
  • node >= 8

How to use the Photon and Neutron search api

  1. Clone the repository

    git clone https://github.com/panosc-eu/search-api.git
  2. Install node packages

    npm install
  3. Start the server

    npm start
  4. 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>

    (pan-ontologies-api source code and container)

  5. Try out the API using the example queries, either through http://localhost:3000/explorer or Curl.

Acceptance and integration tests

npm test