This demo app shows how you can integrate the Ex Libris Alma REST APIs with a SPA (single page application) using Rails and Vue.js.
It also uses the alma_rest_api
gem as a wrapper for the API calls.
On any machine with Ruby on Rails and Git installed, do the following:
- Clone this repository:
git clone https://github.com/jweisman/alma-apis-rails-vue
cd alma-apis-rails-vue
- Install dependencies:
bundle install
- Run the application. This application requires an API key. You can provide one in the environment, i.e.:
$ ALMA_API_KEY=l7xx......... rails s