Welcome to LIRI! To run this app you will need to have your own .env file for it to work. It should be formatted like so:
# Spotify API keys
SPOTIFY_ID=your-spotify-id
SPOTIFY_SECRET=your-spotify-secret
Replace your-spotify-id and your-spotify-secret with your spotify id and secret. Also, dont forget to npm instal the packages needed.
Once you have your .env file saved with the other files I have provided here you are going to want to have your terminal inside of this file and run: node liri.js instructions to view the instructions on how the program works. An example of this can be viewed below.
As can be seen in the instructions there are 4 possible commands. Images of how these commands work when run are shown below.
Inputs entered after the concert-this command are run throgh the bands in town api.
Inputs entered after the movie-this command are run throgh the OMDB api.
Inputs entered after the spotify-this-song command are run throgh the spotify api.
The results displayed for this are chosen at random from the random.txt file, and then run through the appropriate api.
All inputs and data feed back to the user in the terminal are also saved to the log.txt file.