In the Server.js file we implement the connection with Fitbit Api.
In the public folder we integrate the results with angularjs in front page.
The callback address is set at Fitbit register page.
Dealt with Fitbit Oauth2.0 by redirect the pages sending client_id and secret