14 Commits

Author SHA1 Message Date
dcfbaf6ae3 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 04:24:45 -03:00
c9df4eceaa Merge branch 'develop' into feature/user-profile-api 2025-10-01 04:18:03 -03:00
84cb4c36eb feat(api): add doctors and patients API integration 2025-09-30 13:57:43 -03:00
b577a418e1 feat(auth): Creates user in patient registration
- Adds automatic user creation in the new patient registration flow.              - To avoid merge conflicts, the user and profile APIs have been separated from the main lib/api.ts file.
2025-09-30 12:01:37 -03:00
ba89bc17f2 feat(auth): Implements user API and fixes login flows.
- Adds new API functions for user management (createUser, etc.).    - Fixes multiple bugs that prevented administrator login and broke the project build.
2025-09-30 01:14:41 -03:00
576c0d53b4 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-09-29 00:58:05 -03:00
João Gustavo
e4afaa5743 removing-test-pages 2025-09-28 04:17:18 -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
945c6eafb6 fix: Calendar and sidebar 2025-09-17 22:51:30 -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
372383fb42 feat: connect patient registration form to create patient API 2025-09-07 18:52:31 -03:00
0ba1590c10 feat: add initial project files and patient list 2025-09-03 01:58:42 -03:00