AI Content Chat (Beta) logo

Appendix B SAmple Code Angular Let’s start with developing a front-end responsive angular application for mobile as well as desktop. We have created integration applications till now. We will use an API provided by the integration application to an Angular application so that data can be populated using this web API. You can read the Angular documentation from the following locations: • https://angular.io/ • https://angular.io/docs Step 1: Navigate to source code location (Angular\ABC Bank\ angular-material) Step 2: Execute the “npm install” command; it will download dependency modules from remote repository to local repository. Step 3: Check the (proxy.conf.json) file to implement revere proxy for integrating web services while doing development, as shown in Figure B-15. In production you can deploy these angular production files directly into your back-end application or by serving it via Apache 2 or Nginx. { "/integration/*": { "target": "http://localhost:8001", "secure": false, "logLevel": "debug", "changeOrigin": true } } 355

Building Digital Experience Platforms - Page 365 Building Digital Experience Platforms Page 364 Page 366