/google-fit-rest

rest api to use google fit rest api

Primary LanguageJavaScript

Google fit REST Server Client

Please refer to official documentation for details of scopes and permissions

Getting Started

  • Make sure you have node.js installed on your device

  • Setup environment variables by creating a .env file and following the template in .env.example, assign appropriate values to each env vars.

  • Install required packages by running

    npm i
    
  • Start server by running

    npm run dev
    
  • Hit endpoint: http://localhost:{PORT}/starter?id={PATIENT_ID}

    • The PORT is part of environtment variable
    • The patient id must be valid patient id that exists in database

have fun developing! 🚀 🚀 🚀 🚀 🚀