minimal changes required to deploy the CAP samples in _shared db_ mode: - db: all bookshop, orders, reviews CDS models into one db instance (_shared-db_) - services: bookstore, orders, reviews - approuter with UI symlinks: - Vue: bookshop, reviews - Fiori: orders - authentification: xsuaa - messaging: Event Mesh - destinations: orders, reviews - cds: - projection OrdersNoDraft for backend direct access - event OrderChanged - deployment: mta.yml
Reviews Service Sample
Run all-in-one
Open a terminal window and run the fiori app in it:
npm run fiori
Run as Separate Services
Open two terminal windows. In the first one start the reviews service stand-alone:
npm run reviews-service
In the second one start the fiori app:
npm run fiori