-
Node.js 12 or later
-
npm (version 6 or higher)
-
MongoDB
-
Docker
-
OpenHIM
-
Postgress
Clone the repository by running the following command in your terminal:
Run git clone https://github.com/UCSF-GP-Namibia/emr-mpi-endpoint-mediator.git
Navigate to the project's root directory and run the following command to install the necessary dependencies:
Run cd emr-endpoint-mpi-mediator
Run npm install
to install the dependencies
Create a new file called private-config.json in the project's src/config/private-config.json
directory and fill in the necessary environment variables.
You can start the server by running the following command:
Run npm start
This will start the server on port 9000 by default. You can change the port number in private-config file.
You can test the API by making requests to the endpoints using a tool like Postman.The API can be found inthe HOWTO.md
file
For more information on the API, please contact the developer.