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

feat(CC-107): create patient endpoint #108

Merged
merged 7 commits into from
Dec 21, 2023

Conversation

ItaloRAmaral
Copy link
Owner

@ItaloRAmaral ItaloRAmaral commented Dec 17, 2023

O que foi modificado?

  • Adicionado um endpoint de criar pacientes

Links de referência e etapas para avaliação

  • Rode o seguinte comando para subir o projeto: pnpm run core-setup --action=migrate,generate
  • Rode o seguinte comando para rodar a aplicação: pnpm exec nx run core-rest-api:serve
    • Verifique se não crashou a aplicação
  • Agora navegue para: libs/core-rest-api/adapters/src/controllers/api/use-cases/patient
  • Acesse o arquivo: patient-client.http
    • Agora teste todo o fluxo de update de clínica
      • Criar um usuário
      • Logar com as credenciais deste usuário (salvar o id desse usuário)
      • Criar uma clínica (salvar o id da clinica)
      • Testar todas as possibilidades do endpoint de criação de paciente, testar as exceções também para avaliar os tratamentos de erro

Palavras-chave

patient, endpoint, create

Por que foi modificado?

@ItaloRAmaral ItaloRAmaral added feature New feature or request backend labels Dec 17, 2023
@ItaloRAmaral ItaloRAmaral self-assigned this Dec 17, 2023
@ItaloRAmaral ItaloRAmaral linked an issue Dec 17, 2023 that may be closed by this pull request
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@luanavfg luanavfg merged commit 83773a4 into main Dec 21, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Criação de endpoint de criação de paciente
2 participants