7 Commits

Author SHA1 Message Date
dea39d9421 refactor(api): Separates the API modules for patients and physicians
Moves the functions and types related to patients and physicians from the single file lib/api.ts to their own dedicated files in lib/api/pacientes.ts and lib/api/medicos.ts.
2025-10-01 23:21:51 -03:00
5655d0c607 feat(auth): implement user profile and access control
Adds user profile data fetching after login and protects the Doctors page so only administrators can access it.
2025-10-01 22:50:44 -03:00
84cb4c36eb feat(api): add doctors and patients API integration 2025-09-30 13:57:43 -03:00
João Gustavo
a6ae27876e add-login-and-logout-endpoints 2025-09-28 04:10:40 -03:00
791d31a5a6 feat(api): implementação e integração das APIs de médicos 2025-09-18 13:58:52 -03:00
a7c9c90ebb chore: update components config 2025-09-11 22:09:50 -03:00
b2a9ea047a feat(api): add and wire all mock endpoints
- Patients: list, get by id, create, update, delete
- Photo: upload, remove
- Attachments: list, add, remove
- Validations: validate CPF, lookup CEP
- Hook up env vars and shared fetch wrapper
2025-09-10 22:00:32 -03:00