Introducing ZapEHR's "Hello World" Demo
Discover ZapEHR's "Hello World" sample code, showcasing the process of building an application using zapEHR.
ZapEHR is a cloud platform for building health applications. Today we’re releasing sample code to demonstrate how to build a simple app on ZapEHR. The application supports listing patients and adding new ones. The code is released at https://github.com/masslight/zapehr-public/tree/main/website-demo.
Teams are building everything from smaller products like scheduling apps and ePRO surveying apps to full-scope EHRs.
This application is written in React and TypeScript, and demonstrates many of ZapEHR’s features:
calling ZapEHR’s FHIR API to create and fetch FHIR resources
calling ZapEHR’s Project API to invoke ZapEHR Zambda Functions
ZapEHR Zambda Functions with custom code for getting and creating patients
ZapEHR Secrets which manage environment variables for Zambda Functions
The repository is split into two parts, website and zambdas. website is the frontend, and zambdas is the backend. The README has instructions for both running the code locally and deploying it. Check out the deployed version of the demo at https://zapehr.com/demo.
The code is released under the MIT License, and you can run it and change it yourself. If you have any questions, you can email us or join our Slack.