Explore yearly recaps of your Strava activities

- React + Vite
- Tailwind + Shadcn
- Recharts
- Mapbox
-
Create an API application on Strava. Obtain your
Client ID
andClient Secret
-
Clone the repo
git clone https://github.com/atefkbenothman/strava-recap.git
- Create a
.env
file in the root directory with the following key/value pairs:
VITE_STRAVA_CLIENT_ID=<strava client id>
VITE_STRAVA_CLIENT_SECRET=<strava client secret>
VITE_STRAVA_REDIRECT_URI_DEV=http://localhost:5173 (set to url outputted by command `npm run dev`)
VITE_MAPBOX_ACCESS_TOKEN=<mapbox access token> (optional)
- Install dependencies
npm install
- Start dev server
npm run dev