Git Product home page Git Product logo

book_search's Introduction

Book Search

Description

A no-frills app for searching for books and articles and such. It currently sends search terms along to Google Books API, and displays the book's cover, author, title, and publisher, along with a link to view the listing on Google Books itself.

How To Use

The app is currently hosted on Heroku, and so the easiest way to use it would be to visit it here. Just enter a search term, hit enter, and then view what comes up. Pagination will allow you to move forward and backward among results, and clicking on any listed author(s) or publisher will perform another search with that as the new search term.

How To Run (locally)

To run it locally, you'll first want to clone it from this repo:

git clone https://github.com/tenzaej/book_search.git

After that, go into the directory...

cd book_search

...and make sure you've got dependencies installed. This app uses ruby 2.7.2 and an assortment of gems, so use whatever ruby version manager you prefer, and install the dependencies. For me, it looks something like this:

rbenv install 2.7.2
rbenv local 2.7.2
gem install bundler
bundle install

From there, you can start the server locally with

bundle exec rails server

If all is well, you should be able to navigate to localhost:3000 and start to search.

How To Run Tests

After you have cloned the project and installed its various dependencies, running the tests locally consists of the following command:

bundle exec rspec

book_search's People

Contributors

tenzaej avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.