©️
Cross api
En-US
En-US
  • Introduction
  • Compatibility
  • Extensions
  • Usage
    • Tools
      • Config
      • ListProvider
      • Language
      • Help
    • Structure
      • MakeApi
      • MakeModule
      • MakeProvider
      • Revert
  • Structure
    • Root
    • Src
    • @Types
    • Assets
    • Config
    • Dtos
    • Jobs
    • Keys
    • Middlewares
    • Modules
    • Routes
    • Shared
    • Utils
  • Services
    • Transactions
    • Exists
    • FindBy
    • FindIn
    • FindLike
    • FindAll
    • Create
    • CreateMany
    • Update
    • UpdateMany
    • Delete
    • DeleteMany
    • SoftDelete
    • SoftDeleteMany
  • Mappers
    • CloneAttribute
    • UpdateAttribute
    • PatchAttribute
    • UpdateString
    • PatchString
    • InsertAttribute
  • Providers
    • Cache
    • Crypto
    • Hash
    • Lead
    • MailTemplate
    • Mail
    • Queue
    • Notification
    • Storage
Powered by GitBook
On this page

Was this helpful?

  1. Structure

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

PreviousMiddlewaresNextRoutes

Last updated 7 months ago

Was this helpful?