Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Latest commit

 

History

History
72 lines (24 loc) · 1.22 KB

INSTALL.md

File metadata and controls

72 lines (24 loc) · 1.22 KB

Prerequisites

  1. Node.js 12 or later

  2. npm (version 6 or higher)

  3. MongoDB

  4. Docker

  5. OpenHIM

  6. Postgress

Step 1: Clone the repository

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

Step 2: Install dependencies

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

Step 3: Configure the environment

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.

Step 4: Start the server

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.

Step 5: Test the API

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

More information

For more information on the API, please contact the developer.