GithubHelp home page GithubHelp logo

runhannah / watch_movies Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 25.79 MB

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

Python 42.14% HTML 57.60% CSS 0.26%

watch_movies's Introduction

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

watch_movies's People

Contributors

runhannah avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.