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.