reactjsreact-reduxcloud-foundrysap-cloud-platformsap-cap

Can I deploy a react-app to the SAP Cloud Platform?


Is it possible to deploy a react-redux application to the cloud foundry environment of the SAP Cloud Platform and is it a supported way of the new SAP Cloud Application Programming Model ?

I cannot find any official resources on that so far.


Solution

  • Sure you can do it. You can build a CAP backend app (with a HANA db for example), add an HTML5 frontend app with any framework you like (React, Angular, Vue, etc...) and glue it all together with the App Router, for dispatching your calls.

    Here explained step-by-step how to do this:

    https://blogs.sap.com/2020/09/01/how-to-build-end-to-end-custom-applications-in-cloud-foundry/?update=updated