This is the successor of SITreg. Now implemented using the SAP Cloud Application Programming Model. Check out the roadmap for the next steps.
We recommend using Visual Studio Code as local development environment. To get the language support for the CDS objects you must manually install the corresponding extension for Visual Studio Code. To install this extension, proceed as follows
The NPM packages for CDS are not part of the default NPM registry. As a consequence, you must configure your registry to lookup the packages in the SAP NPM registry. Enter the following command:
npm set @sap:registry=https://npm.sap.com
Install the CDS command line tools
npm i -g @sap/cds
To build the project, walk through the following steps
npm install
to install the relevant NPM packagesnpm run build
to trigger a clean build of the projectnpm run deploy
to deploy in the local sqlite databasenpm start
to startup the project locallyYou can now access the services via
http://localhost:4004
Run the following command to Initialize your local SQLite DB:
cds deploy --to sqlite:db/sitregcapm.db
Do not forget to repeat this step to initialize the local database whenever you changed the datamodel
Local execution makes use of SQLite3 as database. To get an insight into the database from visual studio code we recommend to install the SQLite Extension from the Visual Studio Marketplace
Please join the SAP Mentors & Fiends Slack Workgroup in the channel #sitreg.
Here are some additional resources for the SAP Cloud Application Programming Model (CAPM):
cf login
to your trial accountnpm run build:cf
npm run deploy:cf