CLI project — beauty products shopping simulation

After 3 weeks at Flatiron, I was instructed to created a project concerning Object-Orientation Relationship. I found an API make up site that allows users can look up various products and which gave me the idea to develop a shopping simulation program for beauty products. I have always enjoyed shopping and beauty products myself and figured this would suit my personality. I fetched API data from the site and changed its format to JSON. I’ve learned that “Gems” are super helpful.

source : https://i.gifer.com/kmv.gif
gem install lolize
gem 'lolize'
require 'lolize/auto'
  1. gem json — parse a JSON document into a ruby data structure
  2. gem bundler — provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed
  3. gem lolize — rainbow colors
  4. system “clear” || system “cls” — use one of these codes to clear the terminal screen
  5. sleep() — tells ruby to delay display
  6. Kernel.exit — closes the terminal app
Photo by Clément H on Unsplash
  1. https://github.com/miaout17/lolize
  2. http://makeup-api.herokuapp.com/?ref=apilist.fun

Software Engineering at Flatiron