This project acts as a light weight test MLLP server to receive HL7 message
Check for npm and node versions. If both the requisites are installed, skip this step and proceed to installation.
node --version
npm --version
-
Add NodeSource yum repository
Run the following curl command to add the NodeSource yum repository to your system:
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
-
Install Node.js and npm Once the NodeSource repository is enabled, install Node.js and npm by typing:
sudo yum install nodejs
When prompted to import the repository GPG key, type y, and press Enter.
-
Verify the Node.js and npm Installation To check that the installation was successful, run the following commands which will print the Node.js and npm versions.
Print Node.js and npm versions:
node --version npm --version
-
Clone the repository
git clone https://github.com/pat-rapidai/mllp-server.git
-
Install dependencies
cd mllp-server npm install
Initialize the MLLP server by running the index.js file in node.
node index.js