@assert.enum has been deprecated since April 2020: https://cap.cloud.sap/docs/releases/apr20#value-range-annotations-for-odata @assert.range is the correct annotation to use: https://cap.cloud.sap/docs/guides/generic#assertrange-check-constraints
Reviews Service Sample
Run all-in-one
Open a terminal window and run the bookshop in it:
npm run bookshop
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 bookshop:
npm run bookshop