BrandonDanis / movie-recommender

Don't know what to watch? This is the app for you!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alt tag
Don't know what to watch? This is the app for you!

Created by:

var Rushil_Perera = "https://github.com/silverAndroid";
var Brandon_Danis = "https://github.com/BrandonDanis";

API Endpoints:

var movies = 'routes/movies-route.js';
GET /movies //returns all movies  
GET /specific-movie //returns a specific movie 
GET /all-genres //returns all genres  
GET /getMoviesFromGenre //returns all movies from a specific genre

var movies = 'routes/directors-route.js';
GET /directors //returns all directors
GET /director //returns a specific director

var users = 'routes/users-route.js';
POST /users //adding a user to the database
GET /users //returns a specific user
DELETE /users //deletes the specified user

Features:

  • Cookie based session authentication
  • Password hashing
  • Fully dynamic front-end design

How to run:

python populate.py DATABASE_NAME localhost DB_USER DB_PASS
python populateCrew.py DATABASE_NAME localhost DB_USER DB_PASS
python retrieve_trailers.py DATABASE_NAME localhost DB_USER DB_PASS
  • Run the app by running 'node index.js' (note: You might need to update the db url on all the /lib scripts to be able to connect to your database)

Screenshots:

About

Don't know what to watch? This is the app for you!


Languages

Language:CSS 56.7%Language:JavaScript 32.2%Language:HTML 6.3%Language:Python 4.8%Language:Shell 0.0%