Answer the question
In order to leave comments, you need to log in
Directory structure for middleware generators, objects?
There are many factories, middleware generators, etc., I want to clean up and structure.
These factories and generators are specific to the application as a whole, not to a specific module.
now the structure is:
- libs
- - errors
- - helpers
- - utils (тут генераторы middlewares)
- - factories (тут фабрики)
- - builders (тут классы/функции которые относятся к паттерну строитель)
- modules
- middlewares (общие, например обработчик ошибок)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question