Repository navigation
F2: porte da API para NestJS (+ F3 Fase 0: baseline visual) - #1
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumo
Porte completo da API legada (Express/Mongoose) para NestJS com paridade de contrato (F2), sobre a branch que também carrega o baseline de paridade visual da F3 Fase 0. O front Vue legado deve continuar funcionando apontado para esta API.
Specs:
.specs/features/02-api-nest-port/· Aceitação:.specs/features/02-api-nest-port/acceptance.mdIncluído
/authentication): JWT comexpiresIn: 1h(corrige o bug legadoexp * 100000), guard 401, throttle no login./countries,/states,/cities) e Tags (/tags,/tags/sync): CRUD com validação anti-injeção.sharp.GET /images(filtros, allowlist de metadata, paginação, deep-link poridcom expansão de limit, prefixo de URL),PATCH/DELETE /images/:id,POST /images(upload multipart com pipeline + rollback de S3).resize()do modal.Exceções de contrato (aprovadas na spec — detalhes em
acceptance.md)metadatanão quebra; EXIF lido do arquivoOriginal; geocoding resiliente; sem log de payloads externos.Verificação (Node 26)
pnpm lint·pnpm typecheck·pnpm build— OKpnpm test— 77 testes / 21 arquivos cobrindo todas as rotas F2pnpm exec sentiness check --tier=standard—status: okNotas
baseline init) — suprime 25 falsos-positivos pré-existentes do knip (deps Nuxt,multerviaFilesInterceptor,@sentiness/check-*,eslint).newInDifflimpo. Deps genuinamente não usadas (nock,@types/multer) foram removidas.acceptance.md), a validar antes do cutover (F7).🤖 Generated with Claude Code