This is a flask app in which users can browse, watch live cameras and select their favorites. After paying for a premium account, you can plan a trip using different commute methods, and see only the relevant cameras for the planned trip.
To run this project, please first set up the given environment variables:
SECRET_KEY - can be anything, used for hashing.
EMAIL_USER, EMAIL_PASS - those will be used for the account sending confirmation mails etc. Must be a real account.
STRIPE_PUBLIC_KEY, STRIPE_SECRET_KEY - found on stripe
STRIPE_ENDPOINT_SECRET - found on stripe
STRIPE_PRICE_API_ID - found on stripe, after creating a product
GOOGLE_MAPS_API_2 - google maps API key
And set up the database with sqlalchemy ORM using models.py.
Create and activate a virtual environment, after that run
pip3 install -r requirements.txt
python3 run.py