Files
revng-revng/python/revng/daemon/demo_webpage.py
Giacomo Vercesi d51e19dbac Introduce the revng.daemon GraphQL API
This commit introduces the `revng.daemon` Python module, a Flask-powered
web application that exposes the functionality from `revng.api` across a
GraphQL API
2022-04-26 15:05:30 +02:00

13 lines
257 B
Python

#
# This file is distributed under the MIT License. See LICENSE.md for details.
#
from flask import Blueprint, render_template
demo_blueprint = Blueprint("demo", __name__)
@demo_blueprint.route("/")
def index():
return render_template("index.html")