Skip to content

sgshivamgarg8/Movies-Web-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movies-Web-App Engine

The Ultimate Search Engine for Movies and TV Series

  • Install Node.js and MongoDB in your machine.
  • 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}})