Add microservices, web UI, and replay tooling
Some checks failed
ci / tests (push) Has been cancelled

This commit is contained in:
dan
2025-12-25 03:28:40 +03:00
commit 46a07f548b
72 changed files with 9142 additions and 0 deletions

13
services/api/models.py Normal file
View File

@@ -0,0 +1,13 @@
from __future__ import annotations
import datetime as dt
from typing import Optional
from sqlmodel import Field, SQLModel
class User(SQLModel, table=True):
id: Optional[int] = Field(default=None, primary_key=True)
username: str = Field(index=True, unique=True)
password_hash: str
created_at: dt.datetime = Field(default_factory=lambda: dt.datetime.now(dt.timezone.utc))