cevi / event-overview-cevidb

Aus der CeviDB werden automatisiert Kurse, Lager oder weitere Anlässe ausgegeben.
3 stars 0 forks source link

Event Overview

Visit Frontend or Backend.

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.

Systemcontext

See Changelog Backend and Changelog Frontend

External Integration

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:

Example: https://events.cevi.tools?iframe=true&organisation=Cevi Schweiz&ype=EVENT&hasAvailablePlaces=true&applicationOpen=true

Prepare

Prerequisites

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

Build and run the backend

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

Build and run the frontend

cd frontend
npm ci
npm run start:int # using the int backend