ChRIS Store API

JavaScript6 client for the ChRIS Store API.
Installation
npm i @fnndsc/chrisstoreapi
API Documentation
If you have a ChRIS store server up and running (eg. as explained below) then you can test the API in your Javascript code.
For more information visit the API documentation
Development and testing
ChRIS Store server preconditions
These preconditions are only necessary to be able to test the client against an actual
instance of a ChRIS Store server both during development and for the automated tests.
Install latest Docker and Docker Compose. Currently tested platforms
Docker 17.04.0+
Docker Compose 1.10.0+
Ubuntu (16.04/17.04/17.10) and MAC OS X 10.11+
Make sure to add your computer user to the docker group
in your machine
Fire up the full set of ChRIS services:
Open a terminal and run the following commands in any working directory:
$> git clone https://github.com/FNNDSC/ChRIS_ultron_backEnd.git
$> cd ChRIS_ultron_backEnd
$> ./docker-make-chris_dev.sh -U -I -i
Check that all the services are up:
$> docker-compose ps
JavaScript package manager prerequisite
Open a terminal in the directory of this README file
Commands
Install dependencies
$> yarn install
Start tests in watch mode (used for developing)
$> yarn start
Start test in single run mode (used by Travis CI
)
$> yarn test
Compile library to standalone bundle
$> yarn build
Generate source code documentation
$> yarn docs