If you're looking for the fastest way to test syncing with EHR systems - without writing code - this is the place to start.
Want to skip the guide? Jump straight to the NexHealth Postman Collection:
Looking for full API docs or production setup? Check out the NexHealth Developer Portal for authentication, endpoints, and real-world examples.
Prefer video? We’ve got a Quickstart walkthrough in 3 minutes and a deeper dive on retry logic, errors, and mapping.
This repository accompanies NexHealth's Quickstart Guide
Here you will find a complete example of a simple online booking interface that uses the NexHealth Synchronizer API to schedule appointments.
- Getting started
- Prerequisites
- Clone the repository
- Configuration
- Installation
- Starting the Node server and Frontend app
- Performance
Skip the API setup headaches and get hands-on with NexHealth's Synchronizer API. This Node.js + React repository gets you from zero to a working healthcare scheduling app in minutes.
Clone, configure your API key, and start booking real appointments through working examples of appointment creation, provider management, and patient scheduling that you can customize for your healthcare application.
- Node.js 18.x or higher (20.x recommended) (Download here)
- npm 9.x or higher
- Opendental test server configured (Guide here)
Using https:
git clone https://github.com/nex-health/api-quickstart.git
cd api-quickstart
Alternatively, if you use ssh:
git clone [email protected]:nex-health/api-quickstart.git
cd api-quickstart
-
To request access to the NexHealth API, fill out this form. You should receive a subdomain, a location_id, and an API Key.
-
Populate an
.env
file inserver/
with the credentials from above.
cd NexHealth
touch server/.env
Add values for the below properties:
Properties | Description |
---|---|
API_URL | Sandbox url e.g: https://sandbox.nexhealth.com |
SUBDOMAIN | Refers to a specific institution |
LOCATION_ID | Refers to a specific location |
API_KEY | API Key provided by NexHealth |
Please use the sample .env.example
located under the server/
folder as a template.
API_URL=https://sandbox.nexhealth.com
SUBDOMAIN=xxxx
LOCATION_ID=xxxx
API_KEY=xxxx
Note:
.env
files are convenient for local development. Do not run production applications using .env files.
Please contact the NexHealth team if you have any questions about these values.
Install the required dependencies using the following command:
cd ./server
npm install
cd ./frontend
npm install
Navigate to the server folder and run the following command:
cd ./server
npm run start
If everything is working, you should see the following message:
[nodemon] reading config .\nodemon.json
[nodemon] to restart at any time, enter `rs`
[nodemon] or send SIGHUP to 14688 to restart
[nodemon] ignoring: .git node_modules/**/node_modules
[nodemon] watching path(s): *.js routers\*.js
[nodemon] watching extensions: js,json
[nodemon] starting `node --harmony index.js`
[nodemon] spawning
[nodemon] child pid: 11036
[nodemon] watching 8 files
Server is running on port 4000
To start the frontend app:
cd ./frontend
npm run start
If everything was set up correctly, you should be able to access the UI at the following url: http://localhost:3000/
-
On-Premise Systems (e.g., Dentrix, Eaglesoft, Open Dental):
- Read cycles: every 10–15 minutes
- Write actions: typically under 30 seconds
-
Cloud Systems:
- Read: varies based on data type and system
- Write: most write actions complete in 30–60 seconds