AjobK / Seaqull

Seaqull programming blog
http://www.seaqull.com
3 stars 0 forks source link

[319] NestJS configure services and repositories layer #319

Closed danielordaan closed 2 years ago

danielordaan commented 3 years ago

Current state Controllers are currently directly talking to the daos.

Expected state A services and repositories layer are added. Business logic is handled by services. These are injectable into (all) controllers. Repositories handle all logic associated with the interaction with the database (like the daos did). These are also injectable.

TO DO

Necessities

317

Branch 316-nestjs-refactor