You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install all the npm packages required from dependencies in package.json using
npm install
Set Environment Variables for API keys using (optional)
set TMDBAPIKEY="Your tmdb api key without quotes"set OMDBAPIKEY="Your omdb api key without quotes"
Set Environemnt Variable for Database using (optional!)
set DATABASEURL="Your database url without quotes"
Run app using
node app.js
or
npm start
Note: To make a user an admin, you will have to change 'admin' property from false to true, manually using mongo client in terminal/cmd using commands
mongo
use moviesapp
db.users.update({username: 'user_name'}, {$set: {admin: true}})
About
movie search app-The project consists of a web-App designed to work as a movie search engine, this way people will be able to consult a movies rating, release date, the movie´s plot, and external articles related to that specific film. Users will be presented with a list of most popular movies right when they access the site.