add basic Flask server files

This commit is contained in:
Xevion
2020-08-27 01:30:43 -05:00
commit 3e052d3692
3 changed files with 60 additions and 0 deletions

28
server/config.py Normal file
View File

@@ -0,0 +1,28 @@
"""config.py
Stores all configurations for this Flask app. Would be used for storing storing and access development
and production secret keys.
"""
import os
configs = {
'development': 'server.config.DevelopmentConfig',
'production': 'server.config.ProductionConfig',
'testing': 'server.config.TestingConfig'
}
class Config:
"""Base configuration for the app."""
class DevelopmentConfig(Config):
"""Development configuration for the app."""
class ProductionConfig(Config):
"""Production configuration for the app."""
class TestingConfig(Config):
"""Testing configuraiton for the app."""