@iehr/app
v4.3.184
Published
iEHR App
Downloads
521
Readme
iEHR App
This is the code for https://app.iehr.ai
Deployment
iEHR publishes the app package with placeholders for configuration settings. You can use the iEHR CLI to deploy the app, which will automatically replace the placeholders with your settings.
For example:
# Deploy the latest version of the app to your iEHR AWS environment named "staging"
iehr aws deploy-app staging
Config Settings
When deploying from the iEHR CLI, config settings are loaded from the corresponding JSON config file.
When building and running the app from source, config settings are loaded from environment variables or the .env
file.
| Name | Description | Required |
| -------------------------- | ------------------------------------------------------------------------------------------ | -------- |
| IEHR_BASE_URL
| The base URL of the API server for all API calls. For example, "https://api.iehr.ai/". | yes |
| IEHR_CLIENT_ID
| Optional iEHR client application ID. | no |
| GOOGLE_CLIENT_ID
| Optional Google client application ID for Google Auth. | no |
| RECAPTCHA_SITE_KEY
| Optional reCAPTCHA site key for reCAPTCHA user verification. | no |
| IEHR_REGISTER_ENABLED
| Optional flag to enable or disable open registration for new projects. | no |
Developing
Dev server:
npm run dev
Production build:
npm run build
For more information, refer to the Developer Instructions.