> For the complete documentation index, see [llms.txt](https://cross-packages.gitbook.io/cross-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cross-packages.gitbook.io/cross-api/structure/modules.md).

# Modules

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

```bash
.
└── 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
```

***
