This commit is contained in:
2026-07-23 01:15:04 +02:00
parent 582e37d176
commit b534a496fd
79 changed files with 4086 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
from devplacepy_services.base.health import health_router
from devplacepy_services.base.service import BaseMicroservice
from devplacepy_services.web.factory import create_web_app
class WebService(BaseMicroservice):
name = "web"
title = "Web"
default_port = 10500
workers = "auto"
stateful = False
depends_on = ["database", "pubsub"]
def build_app(self):
app = create_web_app()
app.include_router(health_router(self))
return app
_service = WebService()
app = _service.build_app()