training_extensions icon indicating copy to clipboard operation
training_extensions copied to clipboard

Introduce service layer entities and extract business logic to services

Open warrkan opened this issue 1 year ago • 0 comments

In Geti Tune backend, refactor the code to achieve a proper separation of the following three tiers and entities:

  • DB layer: the classes are stored in app/db/, they define the database schema
  • Service layer: the models are stored in app/models, they are used in services which implement the business logic
  • Presentation layer: the models are stored in app/api/schemas, they define the schema of the REST API

warrkan avatar Nov 05 '25 08:11 warrkan