SQLite Databse with Python + Flask Interface project built for Database Class
TO RUN:
- .\env\Scripts\Activate - Initiates the environment & libraries
- (optional) del movies.db - Deletes the database. It will automatically fill up with some movie information, you can delete if you want a fresh restart
- python app.py - Runs the webapp
- you can interact with the webapp by visiting localhost:5000 or following the link in the terminal. you can use any browser.
Database file: movies.db Location: project root directory (same folder as app.py)
To open manually: sqlite3 movies.db
The database is auto-generated by running: python init_db.py (or automatically on first launch of app.py)
sample movie data is loaded from sample_data.sql