Allows the user to search and filter events and courses from the cevi.db. The data is loaded at startup and refreshed once per day.
See Changelog Backend and Changelog Frontend
Supports external integration as an iframe. To hide the header and footer the parameter iframe can be set to true, e. g. https://events.cevi.tools?iframe=true
Furthermore, filter criterias can be set by uri. The parameters are as follows:
- organisation, e. g. organisation=Cevi Alpin
- type, possible values: COURSE/EVENT. e. g. type=COURSE
- text, e. g. text=GLK
- kursart, e. g. kursart=Gruppenleiter/-innen-Kurs 1
- hasAvailablePlaces: possible values: true/false. e. g. hasAvailablePlaces=true
- applicationOpen: possible values: true/false. e. g. applicationOpen=false
Example: https://events.cevi.tools?iframe=true&organisation=Cevi Schweiz&ype=EVENT&hasAvailablePlaces=true&applicationOpen=true
Prerequisites
- JDK 21
- Angular 18.2 see Version compatibility for the required Node.js version
- Cevi.DB API Token with Scope
Anlässe dieser Ebene
.
Put the token in a file and configure the file path in the environment variable APPLICATION_HITOBITO_API_TOKEN_FILE
APPLICATION_HITOBITO_API_TOKEN_FILE=/path_to_the_file_containing_the_token
cd backend
./mvnw spring-boot:run
The backend is accessible under port 8080. e. g. http://localhost:8080/events. You can view an OpenApi specification under http://localhost:8080/swagger-ui/index.html
cd frontend
npm ci
npm run start:int # using the int backend