Skip to content

Exposure notification server for the Austrian stopp corona app.

Notifications You must be signed in to change notification settings

austrianredcross/RCA-CoronaApp-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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.

About

Exposure notification server for the Austrian stopp corona app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published