Skip to content
/ bridge-toolkit Public template

Developer environment and starter applications for Bridge platform

Notifications You must be signed in to change notification settings

arrowhealth/bridge-toolkit

Repository files navigation

Bridge Application Development Toolkit

The Bridge Application Development Toolkit provides the resources needed to get started to develop applications in using today's popular JavaScript Frameworks.

What is included?

The project provide starters application built using Bridge SDK on different platforms:

Each platform provides an Application and a SmartTile example.

Emulator

The toolkit also provides an emulator using the @latest version of the Bridge platform to test your applications. The emulator allows you to configure your applications as well as patient information for testing against your services.

Getting started

Install dependencies for the platform of choice. The following project examples are provided: react, svelte, vanilla and vue.

# npm
npm run <project>:install

# pnpm
pnpm <project>:install

# yarn
yarn <project>:install

Example

npm run react:install

Running project

The following command will run the Emulator, Application and SmartTile projects concurrently from a single commandline. Each project has its own project directory and examples. The following project examples are provided: react, svelte, vanilla and vue.

# npm
npm run <project>

# pnpm
pnpm <project>

# yarn
yarn <project>

Example

npm run react

The projects will run on the following ports:

Open the emulator you should open in your browser to see the examples.

Configuring the emulator

The emulator has a few configurable files located in the emulator/public directory.

  • auth.json - it is most likely that you will not modify this file.
  • config.json - modify this file add your own applications
  • patients.json - modify this file to add your own mock patients