Some additional HTML layer stuff.

This commit is contained in:
Yaro Kasear 2025-08-26 15:30:55 -05:00
parent d6ba934955
commit 026f7aff64
8 changed files with 302 additions and 114 deletions

View file

@ -18,6 +18,9 @@ def create_app():
Base.metadata.create_all(engine)
app.register_blueprint(make_json_blueprint(session_factory, registry), url_prefix="/api")
app.register_blueprint(make_fragments_blueprint(session_factory, registry), url_prefix="/ui")
@app.get("/demo")
def demo():
return render_template("demo.html")
return app
if __name__ == "__main__":