/prescriptions

Deployed (Now V2) here ==>

Primary LanguageHTML

The substitute generic's route: 1.) takes in a list of medications 2.) filters down to only brand medications 3.) checks for an equivalent generic 4.) returns the original prescription id with an updated generic medication id.

Deployed URL substitute generic medications:

https://server-kretaafrsx.now.sh/api/prescriptions/substituteGeneric

The local host route substitute generic medications is:

http://localhost:3300/api/prescriptions/ base directory.

In the server directory, you can run:

yarn

Installs project dependencies.

yarn start

Runs the app in the development mode.
Open http://localhost:3300 to view it in the browser.

yarn test

Launches the test runner.