Skip to content

Latest commit

 

History

History
90 lines (72 loc) · 4.84 KB

README.md

File metadata and controls

90 lines (72 loc) · 4.84 KB


Stop Corona logo
RCA-CoronaApp-Backend

AboutGetting StartedConfigure the applicationReference DocumentationLicense

About

The RCA-CoronaApp-Backend is the backend for the [Stopp Corona] (https://github.com/austrianredcross/stopp-corona-android) and [Stopp Corona iOS App] (https://github.com/austrianredcross/stopp-corona-ios) applications and it is based on the Exposure Notification Reference Server: https://github.com/google/exposure-notifications-server

Getting Started

Set up your development environment

To run this functions locally with Java, install the following software:

IntelliJ IDEA

Run

  1. Import changes manually or enable auto import.
  2. Configure the application
  3. Edit Configurations ... and set Spring Boot Profile (optional)
  4. Run 'CovidappApplication'

Debug

  1. Import changes manually or enable auto import.
  2. Configure the application
  3. Edit Configurations ... and set Spring Boot Profile (optional)
  4. Debug 'CovidappApplication'

Configure the application

The application can be configured as any Spring boot application:

Configuration Keys when running it on Azure

  • APPINSIGHTS_INSTRUMENTATIONKEY : instrumentation key used for logging with Azure App Insights
  • APPLICATION_EXPORT_BLOBSTORE-TYPE : Type of the blobstore used by the application (azure-cloud-storage | filesystem | none)
  • SPRING_DATASOURCE_URL : url of the database
  • SPRING_DATASOURCE_USERNAME : database user name
  • SPRING_DATASOURCE_PASSWORD : database password
  • EXTERNAL_PERSONAL_DATA_STORAGE_URL: the url of the tan validation specific
  • EXTERNAL_PERSONAL_DATA_STORAGE_AUTHORIZATION_KEY_NAME :autorization header
  • EXTERNAL_PERSONAL_DATA_STORAGE_AUTHORIZATION_KEY_VALUE : value of teh authoriztaionheader
  • EXTERNAL_PERSONAL_DATA_STORAGE_SHA256_KEY : sha key used for hashing must be the same as the one used by the service, otherwise it won't match

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

License

This code is distributed under the Apache License 2.0. See the LICENSE.txt file for more info.