/foodtruck_finder

A command line program that prints out a list of food trucks that are open at the current date, when the program is being run.

Primary LanguageJavaScript

Description

A command line program that prints out a list of food trucks that are open at the current date, when the program is being run. If you run the program at noon on a Friday, you should see a list of all the food trucks that are open then.

Data from San Francisco government’s public data source of food trucks.

Displays

  • Name and address of each truck open
  • Sorted alphabetically by name
  • Filtered in Pages of 10 trucks, then waits for input from the user before displaying the page until there are no more food trucks to display.

Prerequisites to run locally

  1. Node
  2. npm

Install Dependencies

$ npm install

RUN commands

$ foodtruck show-open

Alt Text

$ foodtruck o

Alt Text