tehreemAsif63 / DigitalTwins

0 stars 0 forks source link

Receive Data From Back-end #7

Open OmidKhodaparast2002 opened 6 days ago

OmidKhodaparast2002 commented 6 days ago

User Story

As a doctor,
I want the front-end to receive the data for the patient from the back-end,
so that I can plot them for visualisation and inspection.

Acceptance Criteria

Additional Information


Notes

OmidKhodaparast2002 commented 6 days ago

For now I have used 2-second intervals for receiving data. But this can be changed based on our needs

tehreemAsif63 commented 2 days ago

As we have not received data from the backend yet, I used the TestApiEndpoints file to simulate data fetching and print the results to the console. This was to verify that the data fetching works as expected. image

The data was successfully fetched. image

I plan to delete this file and its related commands now that the test has passed to maintain clean code. However, feel free to refer to it in the future for testing purposes if needed.

tehreemAsif63 commented 2 days ago

Currently, we have placeholder values for the patient, data category, and a 2-second time interval for fetching the data. The time interval can be adjusted later as needed. Otherwise, everything is functioning correctly.