Codiologoist / DigitalTwins

0 stars 0 forks source link

24 patient endpoints #42

Closed OmidKhodaparast2002 closed 3 weeks ago

OmidKhodaparast2002 commented 3 weeks ago

Description

This PR adds models that can be used to create patients and save patient data in a MongoDB database. The patient data is updated every 5 second using a interval function. There are postman tests that check that success of endpoints. This PR closes #24

Type of Change

How Has This Been Tested?

Postman tests are updated. Change directory to server and run npm run test

Checklist

Impacted Areas in the Project

The server is changed by this feature. Moreover, some code in the front-end is changed to be able to retrieve patient data from the back-end


Reviewer’s Guide:

Please ensure: