Closed lkeegan closed 1 month ago
Photo could be included directly as a uri in the json, but this is slow & inefficient.
Probably makes more sense to have a separate endpoint to ask for the image for a child, which authenticates that the user owns the child before returning the image as a https://fastapi.tiangolo.com/advanced/custom-response/#fileresponse
We need children logic, data and endpoints in the backend:
Child
CRUD endpoints authenticated by user with access of children of this user