Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature #68/api architecture #69

Merged
merged 4 commits into from
Sep 4, 2024
Merged

Conversation

dudupaz
Copy link
Collaborator

@dudupaz dudupaz commented Sep 4, 2024

Related Issue

Resolves #68

Description

Este Pull Request reorganiza a estrutura das pastas e arquivos da API do projeto EducaMinas, seguindo os princípios da Clean Architecture. As mudanças foram realizadas para melhorar a organização, modularidade e manutenção do código. A estrutura foi dividida em três camadas principais: Infrastructure, Adapters e Application.

Proposed Changes

Infrastructure: Movido routes, database, swaggerConfig.ts e outros elementos relacionados à infraestrutura.
Adapters: Movido repositories e controllers para esta camada, que serve como a ponte entre o núcleo da aplicação e o mundo externo.
Application: Movido services para esta camada, onde reside a lógica de negócio central.

Tests Performed

Após as alterações, todos os testes foram executados com 100% de sucesso, e a cobertura foi revisada para garantir que nenhum teste fosse impactado pela mudança.

@dudupaz dudupaz self-assigned this Sep 4, 2024
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (32b11ec) to head (a9df3dd).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #69   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          147       147           
  Branches        39        39           
=========================================
  Hits           147       147           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@DanielFsR DanielFsR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very good

@DanielFsR DanielFsR merged commit 9fb62cb into main Sep 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

API architecture
2 participants