GithubHelp home page GithubHelp logo

liri-node-app's Introduction

Liri-Node-App


ABOUT THE LIRI

LIRI is like iPhone's SIRI. However, while SIRI is a Speech Interpretation and Recognition Interface, LIRI is a Language Interpretation and Recognition Interface. LIRI is a command line node app that takes in parameters and gives back data. The user has the option of using four commands (listed below) in conjuntion with specific parameters associated with the commands. The Commands are:

  • concert-this

  • spotify-this-song

  • movie-this

  • do-what-it-says


HOW TO USE LIRI

Step by Step instructions

  1. Open your terminal such as Bash.
  2. Navigate to the folder that contains the liri.js file.
  3. LIRI utilizes inquirer to prompt the user for input.

Image of Start

Depending on the command you run, the output will vary

Chosen 1: Run the concert-this command

Output:Please enter your concert name:[concert name here] -This will output the following information about the events and locations where the artist or band will perform. It can result in multiple records.

  • Name of the venue
  • Venue location
  • Date of the Event (use moment to format this as "MM/DD/YYYY")

concert-this

Chosen 2: Run the spotify-this-song command

Output: spotify-this-song [song name here] - This will output the following information about the song the user enters in the terminal window. If no song is provided then the program will default to “The Sign” by Ace of Base.

spotify-this-song-empty spotify-this-song-input

Chosen 3: Run the movie-this command

Output: This will output the following information about the movie the user enters to the terminal window. If the user doesn’t supply a movie name, the program will default to “Mr. Nobody.”

  • Title of the movie.
  • Year the movie came out.
  • IMDB Rating of the movie.
  • Rotten Tomatoes Rating of the movie.
  • Country where the movie was produced.
  • Language of the movie.
  • Plot of the movie.
  • Actors in the movie.

movie-this-input movie-this-input

Chosen 4: Run the do-what-it-says command

Output:Using the fs Node package, LIRI will take the text inside of random.txt and then use it to call one of LIRI’s commands.

do-what-it-says

Data Output In addition to logging the data to the terminal, data will also be output and appended to a .txt file called log.txt.

TECHNOLOGIES USED

  • Javascript

  • Nodejs

  • Node packages:

    • Node-Spotify-API
    • Axios
    • Moment
    • DotEnv
    • Inquirer
    • fs
  • APIs used:

    • Bands in Town
    • OMDB
  • Git

  • GitHub

liri-node-app's People

Contributors

mihrimahk avatar

Watchers

James Cloos avatar

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.