Skip to content

vchervanev/openlib-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Library Integration Demo

See Sample Design Document

Local Development

gem install bundler
bundle install
bundle exec rackup -p 9292 config.ru
open http://localhost:9292

Testing

The app includes rspec unit tests and end-to-end capybara tests using Rack driver, thus the JS handlers can't be tested yet and require another driver.

bundle exec rspec

Deployment

The app is deployed to https://openlib-demo.herokuapp.com/ via Heroku's pipeline.

API Format

Sample request:

Response:

{
  "success": true,
  "payload": [
    {
      "title": "Abba Abba",
      "authors": "Anthony Burgess",
      "link": "https://openlibrary.org/works/OL1386723W"
    },
    {
      "title": "ABBA Gold - Greatest Hits",
      "authors": "ABBA",
      "link": "https://openlibrary.org/works/OL26541836W"
    },
    ...
  ]
}

Screenshots

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published