ssciwr / mondey

In development
https://mondey.lkeegan.dev
GNU Affero General Public License v3.0
0 stars 1 forks source link

add Children to backend #111

Closed lkeegan closed 1 month ago

lkeegan commented 1 month ago

We need children logic, data and endpoints in the backend:

Child

CRUD endpoints authenticated by user with access of children of this user

lkeegan commented 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