Coffeefinder

Project image

Coffeefinder

A Ruby CLI app for finding nearby coffee shops built with the Yelp GraphQL API

Blog post | Github repository

Features

  • Command-line interface application that utilizes Yelp's GraphQL API as well as IP-API to help user find nearby coffeeshops
  • GraphQL queries to Yelp API through integration of graphlient library
  • Automatic user location detection through queries to IP-API
  • Paginated results display through integration of tty-prompt and tty-table libraries
  • Customizable behavior through CLI options via optparse library with custom validation of user input
  • Colorized result listings through integration of colorize library
  • Persistent favorites menu through filesystem storage of JSON-formatted result data
  • Intuitive menu navigation through integration of tty-prompt
  • Strong separation of concerns achieved through object-oriented programming and use of Ruby mixins

Video walkthrough