replace python django backend with nodejs backend

This commit is contained in:
wea_ondara
2024-05-27 18:59:58 +02:00
parent ebd0748894
commit 8b60d023e8
123 changed files with 15193 additions and 88 deletions

View File

@@ -0,0 +1,11 @@
from injector import Binder, Module, singleton
from .services.AiService import AiService
from .websocket import DashboardConnectionManager
class InjectorModule(Module):
def configure(self, binder: Binder) -> None:
self.__class__.instance = self
binder.bind(AiService, scope=singleton)
binder.bind(DashboardConnectionManager, scope=singleton)