SAE-A2-TruthInquiry/truthseeker/__init__.py
2022-11-29 10:06:15 +01:00

13 lines
254 B
Python

import flask
from truthseeker import routes_api
app = flask.Flask("truthseeker")
app.config["SECRET_KEY"] = "temporary secret"
app.register_blueprint(routes_api.api_routes, url_prefix="/api/v1")
@app.route("/")
def hello():
return "Hello World!"