This repo explored building a single page web application using Flask, SQLAlchemy, SQLite, Pillow, NGINX, and Gunicorn.
Original intent was to build a yahtzee web application, but this repo pivoted to a basic application given the scope of learning fundamentals of Flask.
Download/clone repo, create/activate virtual environment for your own sanity, ensure you're on python3.8, "pip install -r requirements.txt" to install dependencies.
Set environment variables with export FLASK_ENV=development, SECRET_KEY='SOME_SECRET_KEY', EMAIL_USER='SOME_EMAIL', and EMAIL_PASSWORD='SOME_EMAIL_PASSWORD'.
Run "make db" to build db at ./data/yahtzee.db
Run "make run" to build app, access in browser at localhost:5000