Make sure you already have S3 bucket, access key and secret key before go through this notes.
Boto3 allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2.
pip install boto3
The below article will cover the intricacies of setting up databases and heroku in respect to a flask app. This is more like a memo and will have out of sequence instructions or solutions to errors so read thoroughly.
You'll need the packages
| import json | |
| from flask import Flask, url_for, redirect, session | |
| from flask_login import (UserMixin, login_required, login_user, logout_user, current_user) | |
| from flask_googlelogin import GoogleLogin | |
| users = {} | |
| app = Flask(__name__) |