Skip to content

Standardized API endpoint to serve configuration for the frontend. #663

@Shayan1375

Description

@Shayan1375

Description

Follow-up to feasibility-gui#432.

The frontend currently contains several outdated/unused configuration entries and backend-related settings. These should be centralized and provided by the backend as a config json. The configuration options should be defined as environment variables in the backend’s docker-compose file, read by the backend at startup, and exposed to the frontend through a dedicated config endpoint.

Following options are needed and should potentially be provided

{
	"dsePatientProfileUrl": "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert",
	"lowerboundarylocationresult": 1,
	"lowerboundarypatientresult": 20,
	"pollingintervallinseconds": 10,
	"pollingtimeinseconds": 10,
	"proposalPortalLink": "https://antrag.dev.forschen-fuer-gesundheit.de", 
	"ccdlVersion": "version",
	"uiBackendApiUrl": "/api/v5"

	}

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions