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

Migrar telas do antigo backend para o novo #56

Open
hermesalvesbr opened this issue Nov 12, 2024 · 1 comment
Open

Migrar telas do antigo backend para o novo #56

hermesalvesbr opened this issue Nov 12, 2024 · 1 comment

Comments

@hermesalvesbr
Copy link
Member

No description provided.

@hermesalvesbr hermesalvesbr converted this from a draft issue Nov 12, 2024
@hermesalvesbr
Copy link
Member Author

Criei um branch chamado https://github.com/EduPrime/app/tree/back3nd que possui src/services/BaseService.ts totalmente reescrito para compatibilidade com o novo backend, fez login e trouxe dados:

Image

É importante ressaltar que o arquivo .env foi modificado: VITE_BACK3ND_URL=http://localhost:3737/api/

Acredito que os próximos passos sejam:

  • criar arquivo seed.ts para o eduprime, assim facilitando os testes de tela
  • Revisar as definições de tipo nos services e nos componentes
  • Adaptar resposta do novo back3nd, pois o formato pode ser diferente.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant