-
Notifications
You must be signed in to change notification settings - Fork 1
Estrutura
Filipe A.S edited this page Aug 11, 2022
·
1 revision
O projeto artisan consiste no uso do design pattern DDD. Atualmente na versão v2, o artisan pretende trabalhar especificamente com o ORM prisma. Em comparação, na versão v1, o artisan trabalhava com o ORM typeorm.
Ao executar o comando yarn artisan --init
o artisan irá criar a seguinte estrutura de pastas:
- src
- application
- core
- domain
- errors
- infra
- tests
Na raíz do projeto, ele irá criar também arquivos de configuração, como jest, prettier e slint.