Skip to content

paralleltree/heartbeatmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heartbeatmon

Setting up

Build and Deploy an image

  1. Enter to cmd/lambda
  2. Run sam build to build container image
  3. Run sam deploy --guided to create resources.
  4. Add settings to get heartrate from Fitbit and store

Put settings into a S3 Bucket

Run cmd/auth/main.go to authenticate Fitbit API and write tokens to file below:

  • clientCredentials.json
    • clientId
    • clientSecret
  • accessToken.json
    • accessToken
    • refreshToken

Upload these files to root of the S3 bucket created by previous step.

About

死活監視(物理)

Resources

Stars

Watchers

Forks