This repo is a simple CRUD API application based on the patient FHIR specification. This API is build with Nodejs and Express as well as Mongo DB for the persistent storage.
For more information on the Patient FHIR Specification click the link below.
Required
- Mongo DB version 4.0.10
- Nodejs version 10.16.0
Run:
npm install
After successfull installation:
npm run start
The application should be running at port 3000
http://127.0.0.1:3000/api/patient
The API is usable with the following request methods
Get:
http://127.0.0.1:3000/api/patient
http://127.0.0.1:3000/api/patient/{patientId}
Post:
http://127.0.0.1:3000/api/patient
Put:
http://127.0.0.1:3000/api/patient/{patientId}
Delete:
http://127.0.0.1:3000/api/patient/{patientId}