vendredi 24 août 2018

How to deploy multiple node js apps on one single host and port?

I am relatively new to NodeJS and have created three small application each connecting to a different datasource and fetches results. Now I want to deploy all these three application under a single roof i.e a single host and port just like we do on Tomcat/Jetty server - all applications go under webapp folder and simply work. e.g : localhost:3000/application1/getEngineData, localhost:3000/application2/getMyToDoList. These are three 2 independent application. The applications count will increase in the future and I don't want to change any server configuration or restart it anytime I deploy an application.

Thanks in advance for your help folks !




Aucun commentaire:

Enregistrer un commentaire