The IFSC iCalendar Generator is a utility that allows anyone to generate an iCalendar file containing the IFSC competition schedule for importing into calendar applications.
The utility fetches JSON data from the IFSC ranking endpoint and converts it into the iCalendar format.
- Java 11
- Node 12 / Yarn (commit hooks - run
yarnto install dependencies)
- Skaffold (for developing against a Kubernetes cluster)
To run in an IDE ensure that the
local profile is set.
To build and run the tests:
./gradlew clean build
To build the docker image:
To run the service locally:
ENV=local SPRING_PROFILES_ACTIVE=local ./gradlew bootRun
To run the service in a kubernetes cluster (with hot reloading):
skaffold dev --force=false
To make a request for all competitions:
curl -X GET -H "Content-Type: application/json" localhost:8080/calendar?leagueId=388
Note that the leagueId can be obtained by inspecting the network requests on the IFSC Competitions page.
This project uses the following license: MIT.