Skip to content

lib-bridge-js

Library

Node.js framework for building bridges between HDS and external health data systems.

  • Express server with clustering, CORS, JSON parsing
  • Partner authentication via partnerAuthToken header
  • User onboarding flow (POST /user/onboard → HDS auth → finalize)
  • Bridge account management
  • PluginBridge base class to extend
  • bridge-chartneo (push model)
  • bridge-mira (pull model)
  • Node.js >= 24, TypeScript (strip-types)
  • Express 4, @pryv/boiler config
  • Cluster mode for multi-process