Skip to content

React TypeScript App pulling data from Strava

License

Notifications You must be signed in to change notification settings

burger-mtbkr/strava-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strava App

Overview:

Basic React TypeScript app pulling data from Strava and visualizing it in React Leaflet

Tech stack:

Instructions:

  1. You will need to have a configured app in strava to get you OAuth Info.
  2. Once you have this setup, update the .env.development file by adding the values for the environmental variables:
  3. Save 😉
REACT_APP_STRAVA_CLIENT_ID=your_client_id
REACT_APP_STRAVA_CLIENT_SECRET=your_client_secret
REACT_APP_STRAVA_CALLBACK_URL=http://localhost:3000

Running the app:

  1. Run yarn install
  2. Run yarn start:dev

Testing the app:

  1. Run yarn test or
  2. Run yarn watch or
  3. Run test:coverage or
  4. Run test:premerge

Preview:

Strava Api documentation:

Known Issues:

  • All tests that interact with the React-Leaflet components are currently failing