This is where the code for ferien-api.de lives.
This project is built with Spring Boot and Kotlin, using an embedded h2 database as its data store.
To get a local copy up and running follow these simple steps.
- Clone the repo
git clone https://github.com/paulbrejla/ferien-api.git
- Add .ics calendar files to /main/resources/holidays
- Filenames need to conform to the following format:
ferien_{state}.ics e.g. ferien_Bremen.ics
- Run
./gradlew bootRun
- Build Docker Image
docker build -t holidays-api .
- Tag Docker Image
docker tag holidays-api:latest remote-repo/holidays-api:latest
- Push Docker Image to remote repo
docker push remote-repo/holidays-api:latest
Distributed under the MIT License. See LICENSE for more information.
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Update the README.md with details of changes, this includes new environment variables, exposed ports, useful file locations and container parameters.
Paul Brejla - paul(at)paulbrejla.com
Project Link: https://github.com/paulbrejla/ferien-api