Welcome to the Language Interpretation & Recognition Interface or LIRI for short. This is a command line Node Application allowing you to search for your favorite concert, song on spotify, movie in the Open Movie Database as well as doing whatever you tell it to in an external file. This Application utilizes real language rather than speach recognition. Hence the name, Language.
- Using the Band Is In Town API
- Using the Spotify API
- Using OMDB API
- Using the Spotify API we do what is stated in
random.txt
.
- We are also logging to the console as well as to an external file as shown below. Video Example of how this works.
These instructions will get you up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You will need the following installed...
-
Node
-
Before you can install Node, you’ll need to install two other applications. Fortunately, once you’ve got these on your machine, installing Node takes just a few minutes.[1]
-
XCode. Apple’s XCode development software is used to build Mac and iOS apps, but it also includes the tools you need to compile software for use on your Mac. XCode is free and you can find it in the Apple App Store.
- Via Terminal
xcode-select --install
- Via Terminal
-
Homebrew. Homebrew is a package manager for the Mac — it makes installing most open source sofware (like Node) as simple as writing brew install node. To install Homebrew just open Terminal and type ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)". You’ll see messages in the Terminal explaining what you need to do to complete the installation process.
-
-
Because this is does not run in the browser, you will need to do some setup on your own to get up and rolling.
- Fork the project
- In your local dir, you will want to run
npm init -y
to install all required packages & generate JSON files. - Create a
.env
file to hold your API Keys 1. E.g.exports.spotify = { id: process.env.SPOTIFY_ID, secret: process.env.SPOTIFY_SECRET };
- NodeJS - The JS framework used
- Fork it (https://github.com/jobu206/liri-node-app/fork)
- Create your feature branch
git checkout -b feature/liri-node-app
- Commit your changes
git commit -am 'Add some yourMessageHere'
- Push to the branch
git push origin feature/liri-node-app
- Create a new Pull Request
Kevin LeRoy - Portfolio
This project is licensed under the MIT License - see the LICENSE.md file for details
[1] Adapted from instructions found here: https://blog.teamtreehouse.com/install-node-js-npm-mac