Welcome to the reference app monorepo for Calesi projects ("Calesi" stands for CAP-level Service Interfaces).
We use this repository to develop both, the basic reference application on an incidents management use case, as well as enhancements to that showcasing how to use individual BTP services and features.
The folders in here are:
-
incidents-app
The incidents base application used for all examples
-
samples/...
Enhancements to the incidents-app showcasing how to use individual services, like change tracking, audit logging, messaging, and so forth...
-
plugins/...
A place to put in your CAP plugin packages to be used
As a monorepo it allows to refer to all packages in one of the above folders.
To get started clone the repository and run npm install:
git clone --recursive https://github.com/cap-js/calesi.git
cd calesi
npm i
Run the basic incidents app:
cds w incidents-app
Run the incidents app with one of the enhancements:
cds w samples/change-tracking
In order to run the incidents app with more than one enhancement...
- TODO...
- TODO...
Follow these steps to add a new Calesi case:
- Clone this repository as given above
- Add a new subfolder in
samples/
, e.g.:cds init samples/change-tracking
- Add the plugin
- If the service plugin is not yet released, clone the repo into a respective subfolder in
plugins/
, e.g.git clone https://github.com/cap-js/change-tracking plugins/change-tracking
- If/ once the plugin is released, add the root package.json's workspaces config, i.e.,
samples/<plugin>
- If the service plugin is not yet released, clone the repo into a respective subfolder in
- Run
npm install
to npm link all dependencies