https://github.com/james-millner/kotlin-strava-app/blob/master/README.md
1.8K
A simple Kotlin Spring Boot app designed as abit of a playground for the Strava API.
The app has a variety of API endpoints available to use. To find out more about these, boot up the app and head to:
http://localhost:8080/swagger-ui.html
The app is very much a work in progress and its only purpose is to be a side project to play with Kotlin.
mvn clean package jib:dockerBuild | make - This defaults to the make build step in the provided makefile.docker images | grep strava
jmillnerdev/strava-app latest e6b002a72934 About a minute ago 148MB
Alternatively the docker image is published to the docker hub. Available here: https://hub.docker.com/r/jmillnerdev/strava-app
The strava app has some defined configuration that needs to be injected before running. These values need to be provided as environment variables at runtime.
strava:
url: ${STRAVA_BASEURL}
accessToken: ${STRAVA_ACCESS_TOKEN}
clientId: ${STRAVA_CLIENT_ID}
clientSecret: ${STRAVA_CLIENT_SECRET}
OAuthUrl: ${STRAVA_OAUTH_URL}
| Environment Variable | Value |
|---|---|
| STRAVA_BASEURL | https://www.strava.com/oauth/mobile/authorize |
| STRAVA_OAUTH_URL | https://www.strava.com/oauth/token |
STRAVA_BASEURL=X STRAVA_ACCESS_TOKEN=J... docker-compose upThis step currently requires Kompose to be installed. This can be found at https://kompose.io
STRAVA_BASEURL=X STRAVA_ACCESS_TOKEN=J... kompose upContent type
Image
Digest
Size
81.5 MB
Last updated
about 7 years ago
docker pull jmillnerdev/strava-app