This project provides a powerful API that deploy nodejs web services apps, through child_process tools. You will have a rest API application to call resources and do it dynamically.
Requirements:
npm install pm2@latest -g
Start Local:
npm run start:dev
Start Prod:
npm run start
Application start at: http://localhost:7000
APIs content:
Put all your apis sources in folder src/sub-apps
, then especify the main file of project in appPath
of the payload to Route /up/< app-name >
to start api correctly.
Api Resources:
{
"appPath": "<my-api/main/file/app.js>",
"mode": "cluster" // OPTIONAL - To enable the cluster mode
}
Repository:
References:
Credits Logo: