This app will return search results for upcoming concerts, song info from spotify, and movie info from IMDB. We can also run a pre-defined search stored in random.txt using "do-what-it-says" action.
In order for the app to know what action you want you must enter the actions in the following format,
node liri.js concert-this "<artist-name>"
node liri.js spotify-this-song "<song-name>"
node liri.js movie-this "<movie-name>"
node liri.js do-what-it-says
NOTE: The " quotations are not required but if you're results have a ' quotes you'll need to escape it like \'
. For example if you wanted to search spotify for the song What's My Age Again? then you would need to enter it like this,
node liri.js spotify-this-song What\'s My Age Again?
Or if you don't want to worry about the escape character \ just use "
node liri.js spotify-this-song "What's My Age Again?"
In order to use the app you will need to download and install a few things.
- Download and install Git for Windows
- Download and install NodeJS
- Download this repository by opening Git For Windows and running,
git clone https://github.com/ccollins1544/liri-node-app.git
- After running the above command you'll need to cd into the directory like this,
cd liri-node-app
- Once you're in the application directory we need to setup NPM by entering the command,
npm init
and then do,
npm install
If those two commands ran with no errors you're all set! See the Usage Instructions above.
- Git for Windows
- NodeJS
- Spotify API
- Bands In Town API
- OMDb API
- NPM Node Spotify API
- NPM Axios
- NPM jQuery Param
- NPM File System
- NPM Moment
- NPM Log4JS
- Christopher Collins Lead Developer