Skip to content

This is a sample project to evaluate and explore some capabilities of SAP CAP and Fiori Elements.

Notifications You must be signed in to change notification settings

kainiklas/cap-covid-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet another covid-19 tracker using CAP + Fiori Elements

This is a sample project to evaluate and explore some capabilities of SAP CAP and Fiori Elements.

The goal was to better understand and learn how to:

  • Call a remote service with standard SAP CAP APIs
  • Explore options to map REST to OData Services
  • Visualize Data with Fiori Elements

Screenshots

List Report Object Page

Project Structure

File or Folder Purpose
app/ content for UI frontends (not used)
db/ domain models and mock data
srv/ service models
srv/external call and mapping of remote service
package.json project metadata and configuration
.cdsrc.json config file for CAP

Run the application

Docker

  • Build the docker container: docker build -t covid-tracker .
  • Run the docker container and expose the running port: docker run -p 80:4004 -t covid-tracker
  • sh into docker container to check whats going on inside: docker run -i -t covid-tracker /bin/sh

Publish to Docker Hub:

  • Tag the container: docker tag covid-tracker kniklas/cap-covid-tracker
  • Publish docker push kniklas/cap-covid-tracker

Learn more

Find more information about this repository in my blog post

About

This is a sample project to evaluate and explore some capabilities of SAP CAP and Fiori Elements.

Topics

Resources

Stars

Watchers

Forks