This app is an interactive system using Node.js. Users can retrieve information about a concert (based on an artist search), a movie, or a song, and the liri bot uses API's to get the information the user requests. The purpose of the app is to demonstrate the basic functionality of Node.js and how it interacts with different packages, such as API request package, Axios, spotify-node-api package, and moment.js package, to carry out api request functions.
- Node.js
- Axios
- Node-Spotify-API
- OMDB API
- Bands in Town API
- Moment
- DotEnv
- File-system
Liri bot filters search requests by the user throught the use of four topic names: concert-this, movie-this, spotify-this-song, and do-what-it-says.
- Enter "node liri-js" and the topic search "concert-this".
- Enter the name of any artist you would like to search.
- The Liri Bot will then return a venue, venue location, and date of the artist's concert.
- Enter "node liri-js" and the topic search "movie-this".
- If you do not enter the name of any movie, liri bot will by default return to you the information of the movie "Mr. Nobody".
- Otherwise, you can search any movie and liri-bot will return to you the title of the movie, the movie's release date, IMDB rating, Rotten Tomatoes rating, country of production, movie language, movie plot and movie actors.
- Enter "node liri-js" and the topic search "spotify-this-song".
- Search any song and liri-bot will return to you the artists, song name, preview link of the Spotify song, and the album the song is from.
- If you do not search a specific song, liri bot will by default return the information of the song "The Sign of the Times" by Harry Styles as shown below.
- Enter "node liri-js" and the topic search "concert-this".
- Type in the topic "do-what-it-says" and using the file system package, liri bot will read what is in the inner files which reads "spotify-this-song, 'I want it that way'", and perform those functions in the command line. Liri bot will return information about the song "I Want it That Way" by the Backstreet Boys.
All the information you search and the bot returns about concerts, movies, and songs will be logged in an inner file called log.txt. When the information gets successfully logged, the liri bot will display the phrase "Data is appended to file successfully". This feature is demonstrated below.





