Skip to content

A mediator scaffolding to be used for tutorials and as a starting point for building more complex OpenHIM Mediators

License

Notifications You must be signed in to change notification settings

muthuaravind/openhim-mediator-bootstrap-scaffold

 
 

Repository files navigation

Openhim Bootstrap Mediator

A mediator scaffolding to be used for tutorials

Tutorials

OpenHIM Setup

OpenHIM Bootstrap Mediator Scaffold

Getting Started

This mediator requires an accessible OpenHIM core instance before it can successfully start up.

Docker

From the project directory run:

docker build -t scaffold .

docker run --network {network-name} -p 3000:3000 --name scaffold scaffold

The network flag is optional. If connecting to a specific docker network find the network name by running:

docker network ls

Environmental variables can be included using the -e flag. For example:

docker run --network {network-name} -p 3000:3000 --name scaffold -e OPENHIM_TRUST_SELF_SIGNED=true scaffold

NPM

From the project directory run:

npm install
npm start

About

A mediator scaffolding to be used for tutorials and as a starting point for building more complex OpenHIM Mediators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.1%
  • Dockerfile 4.9%