Skip to Content
0
Jun 24, 2021 at 09:47 AM

Multiple Nodejs modules in MTA app cloud foundry

195 Views Last edit Jun 25, 2021 at 01:09 AM 2 rev

Hi Team,

Created a multi target application app in cloud foundry using HTML5 repository . created 2 node js modules inside mta apart from app router. have some queries reg this set up. below is the structure of MTA

1) why app router and ui module only has xs-app.json and not in other 2 node js modules and where to actually implement the routes for the app

2) How to access the 2 node js modules created after deployment I have implemented simple http server in both node js modules as below

Basically access these node js from 2 different urls which may give some json response

These above apis will be ultimately used in ui module of MTA app.

Regards

Prasad