Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.31 KB

Installation.md

File metadata and controls

31 lines (21 loc) · 1.31 KB

Dependencies

This is a node.js application which requires you to have node installed. To install node, please visit nodejs.org and download and run the latest version of node.

Alternatively, it's available for installation through a number of package managers, for example:

chocolatey:

choco install nodejs.install

yum:

sudo yum install nodejs npm --enablerepo=epel

Other package manager examples can be found on joyent's github page.

Running gusto from source

  • once you've downloaded the repo, change directory to the root gusto directory
  • run commands
    • npm install
    • npm run start

At this point, you can hit gusto routes, for example:

http://localhost:8999/

http://localhost:8999/version/

http://localhost:8999/v1/proxy/drug/event.json?search=patient.drug.openfda.pharm_class_epc:%22nonsteroidal+anti-inflammatory+drug%22&count=patient.reaction.reactionmeddrapt.exact