Commit Graph

4 Commits

Author SHA1 Message Date
Giacomo Vercesi 7b3e7e18f3 daemon: fix debug page in subpaths 2022-05-04 10:04:51 +02:00
Giacomo Vercesi e942263428 daemon: Disable debug page in production mode 2022-05-03 10:57:38 +02:00
Giacomo Vercesi cf05ab0463 Substitute Flask with Starlette
In the future we will need to use GraphQL subscriptions. This is done
via websockets and is supported in Ariadne. However this support is
limited to ASGI frameworks, which Flask isn't a part of.
Startlette is a direct depencency of Ariadne, and all of Ariadne's
features are fully integrated with Starlette, so the switch allows to
drop some Flask integration cruft and streamline the revng.daemon
package.
2022-05-03 10:57:21 +02:00
Giacomo Vercesi 172faebacf 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:59:35 +02:00