You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I have problems matching it to this architecture which many say is the de facto standard for a good software architecture
Like where do I find the entities, use cases, controllers etc.
For me only the controller layer is easy to find. In the template example project its also in the folder controllers.
In the example project the controllers use services and the services access the database.
If I try to map it to the pictures, use cases are the services and the entities are the models. But the models in the github project contain database specific code (for example typeorm notations).
The text was updated successfully, but these errors were encountered:
First of all, please understand that we will speak in translation because we do not speak English.
Robert C Martin's clean architecture says that the common goal is to separate hierarchies and interests, albeit with minor differences, but adhere to the rules of dependency for such an architecture to work. Suppose you have to.
We have divided the folders specific to interests according to the definition and developed them by function.
Also, I was interested in developing it focusing on 3 Layer architecture.
Summary(요약)
Is the template following the clean architecture from R.C. Martin?
Additional Details(추가적인 세부 사항)
the template project has a template like
/model ( or entities)
/service
/controller
/routes
pattern: https://github.com/ljlm0402/typescript-express-starter
But I have problems matching it to this architecture which many say is the de facto standard for a good software architecture
Like where do I find the entities, use cases, controllers etc.
For me only the controller layer is easy to find. In the template example project its also in the folder controllers.
In the example project the controllers use services and the services access the database.
If I try to map it to the pictures, use cases are the services and the entities are the models. But the models in the github project contain database specific code (for example typeorm notations).
The text was updated successfully, but these errors were encountered: