Started on making functional unit tests for endpoints
This commit is contained in:
7
app.py
7
app.py
@@ -3,12 +3,12 @@ from os import environ
|
||||
from controllers.web.endpoints import blueprint
|
||||
|
||||
'''
|
||||
Main entrypoint for Flask application.
|
||||
Initialises any components that are needed at runtime such as the
|
||||
Main entrypoint for Flask application.
|
||||
Initialises any components that are needed at runtime such as the
|
||||
Database manager...
|
||||
'''
|
||||
|
||||
app = Flask(__name__)
|
||||
app: Flask = Flask(__name__)
|
||||
|
||||
# Set app secret key to sign session cookies
|
||||
secret_key = environ.get("APPSECRET")
|
||||
@@ -24,4 +24,3 @@ app.register_blueprint(blueprint)
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(debug=True, host="0.0.0.0", port=8080)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user