The functionalities include:
- Get all patients and display the details of each patient as well as his observation in a form of card
- Get all the observations and display the details of each observation as well as patients who are related to it
- Get a specified number of patients randomly and display them in a form of card
- Get a specified number of observations randomly and display them in a form of card
- Node.js: The JavaScript runtime to run the frontend
- Python3: A Python3 intepreter to run the Flask backend
- npm: A package and project manager for Node.js applications.
For security reasons, the credentials of access to the GOSH Azure implementation has been removed. Make sure you add credentials to the file which locates at ./flask-api/utils/authentication.py before runnning the code.
1. open a terminal and `cd` into the root directory of the project
2. type `npm install` to install all the dependencies
3. type `npm start` to start the front end
1. open another terminal and `cd` into flask-api directory
2. type `source venv/bin/activate`
3. type `pip install -r requirements.txt` to install all dependencies
4. type `flask run` ro start the back end