Skip to content

cap-js/incidents-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incident Management

Welcome to the Incident Management reference sample application for CAP and development recommendations provided by the SAP BTP Developer Guide.

Domain Model

The application support team members to create and process incidents on behalf of registered customers. The basic domain model is depicted below.

domain drawio

Setup

Assumed you prepared for CAP development as documented in capire's Getting Started > Jumpstart page, ...

Clone the repository and install dependencies:

git clone https://github.com/cap-js/incidents-app
cd incidents-app
npm install

Run

Run the application locally:

cds watch

Then open http://localhost:4004 and navigate to /incidents/webapp.
(login as alice, no password required).

Troubleshooting If you get a 403 Forbidden Error and the logon popup doesn't show, try to open a browser in an incognito mode or clear the browser cache.

Test

Run enclosed tests with:

npm test

Deploy

See: BTP Developer Guidelines Deployment Guides