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. 😃
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.
- Clone or download this repo.
cd react-strava-weekly-graphs
cp .env.example .env
- Setup your MonogoDB with your Strava activities and add your connection string to
.env
npm install && cd client && npm install && cd ..
npm run dev
when you're ready to start working andnpm run deploy
orgit push heroku master
(if using Heroku) when you're ready to go to production.