/ui-eholdings

FOLIO eholdings App

Primary LanguageJavaScriptApache License 2.0Apache-2.0

ui-eholdings

Build Status

Copyright (C) 2017-2018 The Open Library Foundation

This software is distributed under the terms of the Apache License, Version 2.0. See the file "LICENSE" for more information.

Introduction

The ui-eholdings module adds the ability to manage electronic holdings in FOLIO. The first supported knowledge base is from EBSCO.

Prerequisites

Installation

  • git clone https://github.com/folio-org/ui-eholdings
  • cd ui-eholdings
  • yarn

Running

By default, this will use the backend OKAPI cluster at http://localhost:9130

If you want to run the application against the mirage server contained within the browser, you can turn it on with the --mirage option:

  • yarn start --mirage

If you want to run the application against a different Okapi cluster:

  • yarn start --okapi https://myokapi.cluster.folio.org

Running Tests

  • yarn test (uses Karma and Mocha to test the application)

To add Istanbul instrumentation and a code coverage report:

  • yarn test --coverage

Building

  • yarn build