nothingisfunny.github.io


Festivalocator (rails app project)


Cook Book Nook (Sinatra Assessment Project)

For this assessment I was required to build an MVC (model-view-controller) Sinatra Application, that would incorporate CRUD (create-read-update-delete) functions. I have decided to build an app called “Cook Book Nook” for sharing the recipes online.


sf_coffee Ruby Gem

This is a short blog post about my first Flatiron school project, for which I chose to build a CLI application for searching coffee shops locations in San Francisco. I chose three main coffee chains such as Pett’s Coffee and Tea, Philz Coffee, and Starbucks. In order to collect information from the first two I used gem Nokogiri and simply scraped the necessary data from the websites. As for Starbucks, which website didn’t allow scraping data, I spent quite some time searching for their well hidden API, which can be accessed here: https://openapi.starbucks.com/location/v1/stores?apikey=7b35m595vccu6spuuzu2rjh4 Next I created a simple Command Line Interface that allows performing the search by ZIP code. The returned information includes name, address, and phone number for all of the stores in the requested area. In order to make data more readable in the console, I used gem ‘colorize’, that I highly recommend for applications of such sort.