项目作者: jonathanbell

项目描述 :
Displays my Strava activities in a stacked horizontal bar chart by hours per week
高级语言: JavaScript
项目地址: git://github.com/jonathanbell/react-strava-weekly-graphs.git
创建时间: 2018-05-15T20:48:23Z
项目社区:https://github.com/jonathanbell/react-strava-weekly-graphs

开源协议:Do What The F*ck You Want To Public License

下载


React Strava Weekly Graphs

This React app shows my Strava activity data in a stacked bar chart format, by week, by activity & type/hours performed.

A custom Node backend connects to the Strava API and provides filtered access to my Strava data. An AWS Lambda function syncs the API and database every hour. We can then visualize the data on the frontend with React. So it’s React on the frontend and Node/ES6/Mongoose on the backend. :smiley:

I mostly use this app for visualizing my own training data, but please feel free to fork this project and use it for your own purposes.

Developer Installation

  1. Clone or download this repo.
  2. cd react-strava-weekly-graphs
  3. cp .env.example .env
  4. Setup your MonogoDB with your Strava activities and add your connection string to .env
  5. npm install && cd client && npm install && cd ..
  6. npm run dev when you’re ready to start working and npm run deploy or git push heroku master (if using Heroku) when you’re ready to go to production.