top level package.json
will interact with package.json of child projects using bash.
In each directory, Run npm install as a background process
for d in ./*/; do (cd $d && npm install &>/dev/null &); done;,
In each directory, Run npm start as a background process
for d in ./*/; do (cd $d && npm start &>/dev/null &); done;,
In each directory, Tell the jobs what jobs are running.
for d in ./*/; do (cd $d && jobs); done;
In each directory, stop all jobs that have been created.
for d in ./*/; do (cd $d && kill $(jobs -p)| xargs kill);
The current obstacle in the project is related to the bash behavior.
The state management that is occouring in the for d in ./*/
is not allowing the jobs command to give a report of current jobs.
Because of low confidence in the result of the jobs command.
Currently have low confidence in the npm start command.
Status: The project is close to completion but not yet stable and has a current low confidence rating for effectiveness.
git clone https://github.com/MichaelDimmitt/potentially_dangerout_js_umbrella_application.git;
npm install;
npm start;
After installation, you can verify that the program is working two ways:
jobs;
http://localhost:8010/v1/request0
http://localhost:8011/v1/request1
http://localhost:8012/v1/request2