RadarCOVID / Radar Covid Backend Dp3t Server
Programming Languages
Labels
Projects that are alternatives of or similar to Radar Covid Backend Dp3t Server
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).
You can find these changes in this package.
-
Technical:
- OpenAPI generation using springdoc-openapi.
- Protocol Buffers compilation with protoc-jar-maven-plugin and moving
.proto
files todpppt-backend-sdk-model/src/main/proto
. - Upgraded versions (PostgreSQL, Tomcat, Spring Boot,...).
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 usingmvn spring-boot:run
). It is the default profile, usingapplication.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 withdocker-compose
, usingapplication.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.