refactor: restructure project into layered architecture

This commit is contained in:
2026-05-17 03:36:28 +03:30
parent b4971fcb6a
commit be6e1fab8e
29 changed files with 240 additions and 302 deletions

21
backend/app/db/models.py Normal file
View File

@@ -0,0 +1,21 @@
from sqlalchemy import Column
from sqlalchemy import Integer
from sqlalchemy import String
from app.db.session import Base
class Item(Base):
__tablename__ = "items"
id = Column(
Integer,
primary_key=True,
index=True
)
title = Column(
String,
nullable=False
)