Right now, all of the endpoints are called synchronously. However, according to the FastAPI documentation, they could be made asynchronously. For this issue, we need to look into whether the calls should be made asynchronously. If yes, then the necessary updates should be made to either /backend/app/main.py or /backend/app/crud.py, whichever is more applicable based on the documentation. If we don't need to make the calls asynchronously, then reasoning should be provided on this ticket.
Right now, all of the endpoints are called synchronously. However, according to the FastAPI documentation, they could be made asynchronously. For this issue, we need to look into whether the calls should be made asynchronously. If yes, then the necessary updates should be made to either
/backend/app/main.py
or/backend/app/crud.py
, whichever is more applicable based on the documentation. If we don't need to make the calls asynchronously, then reasoning should be provided on this ticket.