Skip to content
This repository has been archived by the owner on Feb 2, 2025. It is now read-only.
/ watch_movies Public archive

RandoFlix generates a random movie or show suggestion based on Netflix content as of 2019. Built with Python, Flask, JavaScript.

Notifications You must be signed in to change notification settings

RunHannah/watch_movies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RandoFlix

RandoFlix generates a random movie or show suggestion based on Netflix content as of 2019. A user can create a list, add or remove an item from the list, or watch the content by clicking a button that links out to Netflix's site (some content may no longer be available).

Farmers Market Finder Demo

Technologies Used

Application: Python, Flask, JavaScript, HTML, CSS, Bootstrap
Database: PostgreSQL, SQLAlchemy
Data Source: www.kaggle.com/shivamb/netflix-shows

Note this project was built using Python 3.9.0 and Postgres 13.1, and requires Postgres installed on your machine.

🚀 Quick start

  1. Create an account on Kaggle.com and download csv data set

    https://www.kaggle.com/shivamb/netflix-shows
  2. Clone Repo

    $ git clone https://github.com/RunHannah/watch_movies.git
  3. Navigate to Directory

    $ cd watch_movies/
  4. Unzip csv data file and add netflix_shows.csv file at root directory

  5. Create .env file at root directory

  6. Obtain an API Key from OMDB at www.omdbapi.com/, and add to .env file using the following format:

    export OMDB_API_KEY="OMDB_API_KEY_HERE"
  7. Start PostgreSQL server and create a database called netflix_movies

    For MacOS:
    pg_ctl -D /usr/local/var/postgres start
    psql postgres
    
  8. Add to .env file the following info with your username and password for the netflix_movies database

export DATABASE_URL="postgresql://<username>:<password>@localhost/netflix_movies"
  1. Activate virtual environment and install dependencies
$ pipenv shell
$ pipenv install
  1. Start the development mode
$ python app.py

Site is now running at http://127.0.0.1:5000/

License

This project is licensed under the MIT License

About

RandoFlix generates a random movie or show suggestion based on Netflix content as of 2019. Built with Python, Flask, JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published