API/api.medcify.app/node_modules/pm2/lib/templates/sample-apps/http-server
2022-09-26 11:41:44 +05:30
..
api.js final 2022-09-26 11:41:44 +05:30
ecosystem.config.js final 2022-09-26 11:41:44 +05:30
package.json final 2022-09-26 11:41:44 +05:30
README.md final 2022-09-26 11:41:44 +05:30

Basic HTTP Server and Cluster mode

In this boilerplate it will start an http server in cluster mode.

You can check the content of the ecosystem.config.js on how to start mutliple instances of the same HTTP application in order to get the most from your working system.

Via CLI

Via CLI you can start any HTTP/TCP application in cluster mode with:

$ pm2 start api.js -i max