Radar Covid Backend Dp3t Server Save

DP^3T Radar COVID fork

Project README

RadarCOVID DP^3T Fork

Fork from DP3T-Backend-SDK with the following changes:

  • Functional:

    • When a patient gets a verification code, he/she will set the code in the mobile application to report the exposition keys.
    • Mobile application will connect to the Verification Service to check the code validation. If it is valid, Verification Service will return a token.
    • Mobile application will connect to this service (DP3T Server) with the JWT and exposition keys.
    • DP3T Server will get the information from the token and communicate with Verification Service to redeem the Transaction Number (TAN).

    Sequence diagram to notify infection

    You can find these changes in this package.

  • Technical:

See PR with changes we requested to DP3T.

Installation and Getting Started

Building from Source

To build the project, you need to run this command:

mvn clean package -P <environment>

Where <environment> has these possible values:

  • radarcovid-local. To run the application from local (eg, from IDE o from Maven using mvn spring-boot:run). It is the default profile, using application.yml configuration file. If any properties need to be modified, you can create application-radarcovid-local.yml configuration file.
  • radarcovid-docker. To run the application in a Docker container with docker-compose, using application.yml configuration file. If any properties need to be modified, you can create application-docker.yml configuration file.
  • radarcovid-pre. To run the application in the Preproduction environment. Preproduction environment properties are configured in the infrastructure.
  • radarcovid-pro. To run the application in the Production environment. Production environment properties are configured in the infrastructure.

The project also uses Maven profile aws-env to include dependencies when it is running on AWS environment, so the compilation command for Preproduction and Production environments would be:

mvn clean package -P radarcovid-env,aws-env
mvn clean package -P radarcovid-pro,aws-env

All profiles will load the default configuration.

Application uses The Twelve-Factor App - Config approach so configuration is stored in environment variables.

Support and Feedback

The following channels are available for discussions, feedback, and support requests:

Type Channel
Issues

Contribute

If you want to contribute with this exciting project follow the steps in How to create a Pull Request in GitHub.

More details in CONTRIBUTING.md.

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.

Open Source Agenda is not affiliated with "Radar Covid Backend Dp3t Server" Project. README Source: RadarCOVID/radar-covid-backend-dp3t-server
Stars
81
Open Issues
0
Last Commit
11 months ago

Open Source Agenda Badge

Open Source Agenda Rating