Skip to content

pryv/poc-integration-medisante

Repository files navigation

Poc: Médisanté integration

Integration with Médisanté devices.

Prerequisites: Node v8+, Yarn v1+

How to?

Task Command
Setup yarn
Run API server yarn start
Run it through process manager yarn pm
Print logs in pm yarn pm-logs
Restart in pm yarn pm-restart

NGINX setup

While running, logs are written in bridge-medisante.log.

Test

You can test it with the following cURL:

Production

curl -X POST -H 'content-type: application/json' -d '{
  "metadata":{"measurementType":"BodyWeightComposition"},
  "measurements": {
    "timestamp":1618927736,
    "bodyWeight":{"value":80}
  }}' "https://bridge-medisante.pryv.net/data"

Local

curl -X POST -H 'content-type: application/json' -d '{
  "metadata":{"measurementType":"BodyWeightComposition"},
  "measurements": {
    "timestamp":1618927736,
    "bodyWeight":{"value":80}
  }}' "http://localhost:6437/data"

License

BSD-3-Clause

About

Integration with Médisanté devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published