How to fetch Node.js apis in webOS app?

Hello
I’m krishna a webOS developer i’m creating an media Player for webOS using HTML,CSS and JavaScript , and for APIs i’m using node.js,
currently i’m not able to fetch API’s data in my webOSApp ,
so i want to know that how can i use node.js’s api in my webOSApp

webOS TV apps are web-based. (See Web API and Web Engine.) It’s not much different from general web app development. If you use node modules in your front end, you need to transpile them. Thank you.

in emulator I’m not able to fetch api which i have used for functionality in front-end also the backend is not running like theservice i have created for api code is not running so this is the main issue
is there any reference for that ?

thank you

As we said above, it’s not much different from general web app development. If you can run your app on a web browser, you can also run it on the webOS TV. Please check if your app runs on your PC Chrome browser first. Thank you.

we can run the server manually in terminal when running the app on browser but i want to know that how to setup and run the backend code in webOS emulator

Thank you.

Please refer to VirtualBox Virtual Networking. Thank you.