8000 GitHub - wsmoak/fitbit_stats: Log in with OAuth and get stats from Fitbit
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wsmoak/fitbit_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FitbitStats

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd assets && npm install
  • set CLIENT_ID, CLIENT_SECRET, and REDIRECT_URI environment variables
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Click 'Log in with Fitbit' and authorize the app to access your data.

To interact with the app in IEX: $ iex -S mix phx.server

To clear the User database FitbitStats.Repo.delete_all(FitbitStats.Accounts.User) https://hexdocs.pm/ecto/Ecto.Repo.html#c:delete_all/2

About

Log in with OAuth and get stats from Fitbit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0