Giter Club home page Giter Club logo

sap-samples / cap-appgyver-covid-certcheck Goto Github PK

View Code? Open in Web Editor NEW
6.0 8.0 2.0 67.64 MB

An SAP AppGyver sample app that checks Covid certificates automatically with the help of SAP Cloud Application Programming Model, SAP Cloud Identity Services, SAP Graph and many more!

License: Apache License 2.0

CAP CDS 14.26% JavaScript 73.25% HTML 12.49%
destinations pkce sample sample-code sap-appgyver sap-cap sap-cloud-identity sap-graph xsuaa sap-identity-and-authentication btp-use-case-factory

cap-appgyver-covid-certcheck's Introduction

REUSE status

Validate Covid Certificates using SAP AppGyver, SAP BTP and OpenSource - A Sample App

This repository contains a sample application for the submission, validation, and associated workflow of restricting or permitting building entry to an employee, based on the validity of their Covid Certificate. It focuses on use of SAP Business Technology Platform (BTP) components such as SAP AppGyver, SAP Cloud Application Programming, and SAP Graph, working together to demonstrate the end to end process.

Description

The COVID-19 pandemic created far-reaching impacts and disruption to nearly every facet of public life. One example was embodied in the return to work process, where companies needed to minimize risk to their returning onsite employees, while protecting their own business interest from widespread community transmission.

In many countries, verification of vaccination or recovery is provided in a so-called "Covid Certificate" containing personal information and dates that confirm the holder is protected from the virus and thus able to safely enter the work facility. Implementing this process of verification at scale is both daunting and time consuming, and frequently requires manual steps by the submitting employee as well as a facilities person to approve or deny the building access.

The application in this repository illustrates how various components of SAP BTP can be utilized together to provide an automated and intelligent workflow enabling submission, enrichment, and approval of the employee's Covid Certificate, resulting in a secure and nearly frictionless process.

architecture

Requirements

The required systems and components are:

  • SAP BTP PAYGO (e.g. Free Tier) or CPEA contract
  • SAP SuccessFactors system
  • Covid vaccination certificate

Entitlements/Quota required in your SAP Business Technology Platform Account:

Service Plan Number of instances
Cloud Foundry Memory 1GB
SAP Cloud Identity Services application 1
SAP Graph standard 1
HTML5 Application Repository Service app-host 1
Destination Service lite 2
SAP HANA Schemas & HDI Containers hdi-shared 1
SAP HANA Cloud hana 1
Authorization and Trust Management Service application 1

Subscriptions required in your SAP Business Technology Platform Account:

Subscription Plan
SAP AppGyver standard
SAP Business Application Studio standard-edition
SAP Cloud Identity Services default (only if SAP IAS not available yet)
Launchpad Service standard

Setup and Configuration

In this part of the tutorial you will learn how to setup the security related aspects of your scenario. The security setup will allow you secure access to your CAP REST endpoints using the so called PKCE flow. Therefore you will use SAP Identity Authentication Service and integrate it with your CAP service secured by SAP XSUAA.

In this part of the tutorial you will learn how to setup and configure app that queries SAP SuccessFactors using SAP BTP Graph service. This includes subscribing to the SAP Graph Service and creating a Destination for SAP SuccessFactors and configuring SAP Graph to query SAP SuccessFactors.

In this part of the tutorial you are going to deploy the main backend application built with the SAP Cloud Application Programming Model. This app validates and verifies the uploaded Covid Certificate and communicates with the earlier deployed EmployeeLookupService.

In this part of the tutorial you will learn how to setup and configure your SAP AppGyver app including a secure access to your CAP REST endpoints. The SAP AppGyver app will allow you to upload or scan Covid vaccination or test certificates. The certificate will be checked in the CAP service and the validation result will be displayed and stored in the SAP AppGyver app.

Further Information

Disclaimers:

  • The author does not have a complete picture of all functional / non-functional requirements of the solution, e.g., legal requirements

Known Issues

No known issues.

How to obtain support

Create an issue in this repository if you find a bug or have questions about the content.

For additional support, ask a question in SAP Community.

Contributing

If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.

License

Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

cap-appgyver-covid-certcheck's People

Contributors

dependabot[bot] avatar jmsrpp avatar martinfrick avatar maxstreifeneder avatar ospo-bot[bot] avatar pra1veenk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cap-appgyver-covid-certcheck's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.