This project is a simple catalog for movies sorted by genre which allows users to login and complete CRUD operations. The project consists of:
- Python 2.7 or above
- SQLite 3
- Flask
- sqlalchemy
- Terminal or command prompt
Download all files within this repository.
-
enter the file directory location with all downloaded files.
-
run
database_setup.py
to create the database -
run
lotsofmenus.py
to populate the database -
run
project.py
and navigate to localhost:5000 in your browser
To access genres data: /genre/JSON
To access movies in a genre data: /genre/int:genre_id/movies/JSON
To access a single movie's data: /genre/int:genre_id/movies/int:movie_id/JSON