feat(api): add backend

routes and WebSockets
This commit is contained in:
2025-12-26 18:19:06 +03:00
parent cfec8d0ff6
commit 1b864228d4
28 changed files with 631 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
# collector
SERIAL_PORT=/dev/ttyACM0
BAUDRATE=115200
# DB
DB_NAME=audio_analyzer
DB_USER=postgres
DB_PASSWORD=postgres
DB_PORT=5432
# api
DATABASE_URL=postgresql+asyncpg://postgres:postgres@db:5432/audio_analyzer