Quick Start
Overview
create-meldrx-app
is a CLI tool that can bootstrap a MeldRx application quickly and easily.
This tool will ask you a few questions about what kind of app you want to build and will then generate a new MeldRx app that you can run immediately.
Prerequisites
Before getting started, please make sure you have the following:
- A MeldRx Developer Organization and Developer Account (sign up at https://app.meldrx.com)
- A MeldRx app. For guidance, see MeldRx Apps.
- A MeldRx workspace. For guidance, see MeldRx Workspaces.
- Have Node.js installed on your machine.
Installation
npm i -g create-meldrx-app
Using the Tool
npx create-meldrx-app
You can supply additional arguments to the command to skip some of the questions.
--app-directory [dir]
The directory where you want to create your application--meldrx-app-id [clientId]
The ClientId of your MeldRx application. It will be added to the .env file.--workspace-url [workspaceUrl]
The WorkspaceURL of your MeldRx workspace. It will be added to the .env file.
npx create-meldrx-app --app-directory [dir] --meldrx-app-id [clientId] --workspace-url [workspaceUrl]
After running the tool, you will be asked a few questions about the type of app you want to build (Backend, Patient, Clinician) and the platform you are targeting (Web, Mobile, Backend, etc.).
Once these questions have been answered, a new app will be bootstrapped for you that will connect to your MeldRx Workspace.
App Templates
You can also download one of our app templates and modify it as needed.
Template: Patient Sphere (NextJs)
- Description: NextJs app showing patient clinical data. Also provides a tool to make FHIR queries for testing.
- Template: https://github.com/darena-solutions/meldrx-template-app-patient-viewer-nextjs
- App User Type:
Patient
,Provider
- Live Demo: Patient Sphere
Template: Blank (NextJs)
- Description: Blank NextJs app that can be used to get started as a patient- or provider-facing app
- Template: https://github.com/darena-solutions/meldrx-template-app-blank-nextjs
- App User Type:
Patient
,Provider
Template: Blank (NuxtJs)
- Description: Blank Nuxtjs app. Login as a patient, view your patient data, as well as read/create observations against a workspace.
- Template: https://github.com/darena-solutions/meldrx-template-app-blank-nuxtjs
- App User Type:
Patient