Giter Site home page Giter Site logo

redfin's Introduction

Redfin food truck

Introduction

1 This project create a CLI "show-open-food-trucks" which prints out a list of food trucks that are open for today.

2 I use "commander" library, so user can specify page number, note page number is optional for example, both of these input are valid. $ show-open-food-trucks // without any page number $ show-open-food-trucks -i 5 //show data on page 5 you can use " $ show-open-food-trucks --help " to see manual.

3 I use redis as server side cache so we do not need to load the same data again.

Installation

1 run " git clone https://github.com/jzy521/redfin.git "

2 run " tar -xvzf redis-stable.tar.gz " to unzip file

3 run " cd redis-stable/src "

4 run " redis-server " to start redis server

5 open another terminal, then go back to main folder which contains packpage.json.

6 run " npm install "

7 run " sudo npm install -g " to install show-open-food-trucks

8 run " show-open-food-trucks " or " show-open-food-trucks -i 3 " // 3 is page num

optional : 9 use " sudo npm uninstall -g foodtruck " if you want to uninstall later.

redfin's People

Watchers

James Cloos avatar linxi avatar

Forkers

codealigned

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.