Feature/jeferson mesquita solucao desafio#47
Open
JeffyMesquita wants to merge 4 commits into
Open
Conversation
- Created .gitignore to exclude unnecessary files and directories. - Added ARCHITECTURE.md to outline project architecture and design principles. - Introduced components.json for component configuration. - Set up next.config.ts for image handling. - Initialized package.json and package-lock.json with dependencies. - Configured PostCSS and Tailwind CSS in postcss.config.cjs and tailwind.config.ts. - Updated readme.md to reflect project details and requirements. - Added TypeScript configuration in tsconfig.json. - Set up Vitest configuration for testing. - Created global CSS styles in globals.css. - Established layout structure in layout.tsx and not-found.tsx. - Implemented main page and Pokémon detail page with routing. - Developed data mappers for API responses and corresponding tests. - Included utility components for loading states and UI elements.
- Created vercel.json for Vercel deployment configuration with Next.js framework. - Added .gitkeep file to the public directory to ensure it is tracked in version control.
- Upgraded Next.js from version 15.1.0 to 15.1.9 in package.json and package-lock.json. - Updated eslint-config-next from version 15.1.0 to 15.1.9 in package.json and package-lock.json.
- Included a link to the production application for easy access. - Updated project description to enhance clarity on application features.
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.
Pull Request — Pokédex Dinheirow Challenge
📋 Metadados
feat— Nova funcionalidadefeature/jeferson-mesquita-solucao-desafio→master📖 Resumo
Implementação completa do desafio Pokédex proposto pela Dinheirow, utilizando Clean Architecture, SOLID e Injeção de Dependência. A aplicação consome a PokéAPI v2, oferece listagem com paginação, busca, filtros avançados, página de detalhes e um Super Modal de dados avançados.
✨ Funcionalidades Implementadas
🎯 Requisitos Obrigatórios
staleTime: 30_000🚀 Extras Implementados
colorda API e tokens por tipo Pokémon🏗️ Arquitetura Técnica
Definições
Estrutura de Pastas
Padrões Aplicados
pokemon.mapper.tsPokeApiPokemonRepositoryGetPokemonListUseCase,GetPokemonDetailsUseCasegetById🧪 Cobertura de Testes
Resumo
Distribuição
Comandos
🛠️ Stack Tecnológica
📁 Arquivos Principais
Novos
vercel.json— Configuração de deploy (framework Next.js)public/— Pasta para assets estáticos (evita erro de Output Directory na Vercel)ARCHITECTURE.md— Documentação técnica da arquiteturaREADME.md— Vitrine do projetoTESTE_DINHEIROW.md— Enunciado original preservadosrc/lib/pokemon-color-gradients.ts— Gradientes dinâmicos por corsrc/presentation/components/pokemon-advanced-modal/— Super Modalsrc/presentation/components/filter-panel/— Filtros avançadossrc/presentation/hooks/use-evolution-chain.ts— Cadeia evolutivaModificados (refatoração Clean Code)
src/lib/utils.ts—capitalize,formatPokemonIdextraídossrc/lib/constants.ts— Constantes nomeadas (ITEMS_PER_PAGE, MAX_STAT, etc.)src/domain/entities/pokemon.ts— Campos expandidos (varieties, flavorTexts, etc.)src/data/mappers/pokemon.mapper.ts— Mapeamento completo Pokémon + Species✅ Checklist do Revisor
npm run test:run)npm run build)npm run lint)🚀 Deploy (Vercel)
Configuração
O projeto está configurado para deploy na Vercel com Next.js. O arquivo
vercel.jsondefine o framework corretamente.vercel.jsonpublic— Next.js usa.nextcomo saídanext buildpackage.jsonErro comum
Arquivos de deploy
vercel.json— Configuração do frameworkpublic/— Pasta para assets estáticos (favicon, robots.txt, etc.)📚 Documentação
🎯 Como Rodar
Pull Request elaborado conforme boas práticas de documentação técnica.