Please follow the instructions below to run this project:
-
Extract the zip file (NodeApp.zip)
-
Open a new terminal window
-
Type the following commands:
3.1. cd NodeApp
3.2. npm install
3.3. node app
The second command will install all the packages used in this project.
The third will run the server.
To check if the server is actually running, open a browser and go to the following link:
The web app supports the following functionalities:
-
You can login by entering your username and password. This will be stored in the database.
-
The Top Movies section of the Dashboard dynamically generate movie genres based on data in the IMDB database.
-
When you click on one of the genres, a list of top 10 movies in that genre ordered primarily by rating and secondarily by vote count will be displayed.
-
In the Recommendations tab, you can enter the movie IDs of your 3 favorite movies and click Submit.
-
The web app will find out what is the majority genre among these 3 movies (each movie can have multiple genres) and will display the top 10 movies by rating in that majority genre.
-
The Best of tab dynamically generates a drop-down menu of decades based on data in the IMDB database. You can pick a decade and click Submit.
-
The web app will display the best movie in each genre in that decade, along with its release year.
-
The Posters tab will randomly display 12 movie posters. When you click on the poster, if there's a link, a new window will be opened which directs you to the official movie website.