- A Flask app which is built using TMDB API with user authentication and watch list options. The data is generated from TMDB API.
- Click here to view the app.
- Python 3 should be installed in your machine.
- Required modules can be found in requirements.txt file.
- Start a virtual environment in your machine using
python-venv moduleand activate the virtual environmentpython-venvmodule and its documentation can be found here. - Clone this repository using command
git clone https://github.com/MurariSabavath/flask-movie-app.gitin your command prompt/terminal. - Change your current directory to
flask-movie-appdirectory so that you are in flask-movie-app directory now. - Enter
pip install -r requirements.txtto download all required packages. - Create a .env file
flask-movie-appand add environment variables likeSQLALCHEMY_DATABASE_URI = 'sqlite:///site.db'
URL = 'https://api.themoviedb.org/3/'
SECRET_KEY = "YOUR SECRET KEY"'
API_KEY = "YOUR API KEY" - Go to TMDB DEVELOPERS SITE sign up and login to generate API KEY.
- Uncomment lines 6 and 8 in
__ init__.pyfile which is inapidirectory - In
wsgi.pyfile uncomment 4th line. - Open the terminal and enter
python wsgi.pycommand and open your browser to view app at http://127.0.0.1:5000/.