charlesdebarros / Food-Finder

A basic restaurant/food finder written in Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This exercise is based on the Lynda.com Basic Ruby Essential training.

What is Food Finder

Food Finder is a simple command line run Ruby programme which allow users to consult a list of restaurants to decide what to eat.

Users will be able to add new restaurants and this data will be stored in a text file.

This exercise is based on Lynda.com's "RSpec Testing" course.

There will be user interaction:

  • look for a restaurant
  • list restaurants
    • name, cuisine, and price
    • sortable
  • add new restaurants to the list
  • find restaurants by keyword

Running the script

At the your teminal command prompt simply run ruby init.rb and choose one of the actions: list, find, add, quit.

Technologies used

  • Ruby version 3.0.0
  • RSpec version 3.11.X

Screenshots

General view: image

Listing restaurants by name (default) image

Adding a new restaurant: image

Listing restaurants by other criteria: image

About

A basic restaurant/food finder written in Ruby


Languages

Language:Ruby 100.0%