Reescrevemos um código nestjs que tinha 30 pastas, 100 arquivos, todos os padrões de clean arch, clean code, gang of four, orientação objetos
o resultado final foi 3 arquivos
ficou mais simples, mais rápido e consumiu menos memória
Eu prefiro
GET /get{entity}ById/:id
GET /listAll{entity}
GET /list{entity}ButPaginated
POST /create{entity}
POST /pleaseDelete{entity}/:id - retorna 200 e uma message are you sure?
POST /yesIwantToDelete{entity}/:id
Cc @sseraphini
não negue que
GET /{entity}/get/:id
GET /{entity}/list
POST /{entity}/create
POST /{entity}/delete
muito melhor que
GET /{entity}/:id
GET /{entity}
PUT /{entity}
DELETE /{entity}/:id
NEW TOOL: ITOA (Image to ASCII)
Convert your images to an ASCII canvas, monochrome or colored, and save them into a separate image. Works on mobile (but large size is more limited than on desktop).