A multi purpose project using flask for my own api and website https://gdcheerios.com
make a .env file like this:
DOMAIN = "http://127.0.0.1"
PORT = 80
SECRET = "secret"
IS_PRODUCTION = 0
BACKEND_WEBSOCKET_URL = "ws://127.0.0.1:8765"
FRONTEND_WEBSOCKET_URL = "ws://127.0.0.1:8765"
# Leave This empty to ignore account verification
SMTP_HOST = ""
SMTP_EMAIL = ""
SMTP_PASSWORD = ""
DB_HOSTNAME = "http://127.0.0.1"
DB_PASSWORD = "1234"
DB_USER = "postgres"
DB = "test"
# Leave this empty to ignore osu account linking
OSU_API_KEY = ""
OSU_SECRET = ""
CLIENT_ID = 0
# Leave this empty to ignore payment system
STRIPE_PUBLIC_KEY = ""
STRIPE_SECRET_KEY = ""
STRIPE_WEBHOOK_SECRET = ""
# Leave this empty to ignore google account linking
GOOGLE_CLIENT = ""
GOOGLE_SECRET = ""