- Create a Strava API Application and get the Client ID and Client Secret.
- Create a Mapbox account and get your access token.
- Create a .env file in the root of the project that looks like:
VUE_APP_CLIENT_ID=YOUR_CLIENT_ID
VUE_APP_CLIENT_SECRET=YOUR_CLIENT_SECRET
VUE_APP_MAPBOX_TOKEN=YOUR_MAPBOX_TOKEN
npm install
npm run serve
Don't forget to restrict your Mapbox token!
VUE_APP_CLIENT_ID=YOUR_CLIENT_ID
VUE_APP_CLIENT_SECRET=YOUR_CLIENT_SECRET
VUE_APP_MAPBOX_TOKEN=YOUR_MAPBOX_TOKEN
In Login.vue, change https://www.kudos-web.app -> https://your-app.name