Modules

It is where private dtos, entities, repositories, private providers, controllers, services and unit tests of each module are located.

.
└── modules
    └── [name]
        ├── dtos
        │   └── IEntityDTO.ts
        ├── entities
        │   └── Entity.ts
        ├── providers
        │   ├── [name]
        │   │   └── [provider-structure]
        │   └── index.ts
        ├── repositories
        │   ├── fakes
        │   │   └── FakeRepository.ts
        │   ├── Repository.ts
        │   └── IRepository.ts
        ├── services
        │   └── [service]
        │       ├── Controller.spec.ts
        │       ├── Controller.ts
        │       ├── Service.spec.ts
        │       └── Service.ts
        └── validators
            └──[group]
               ├── [name]Schema.ts
               └── [validator].ts

Last updated

Was this helpful?