How to run multiple node process?

Hi,

Can I run multiple node processes? For example, run a database updatedb.js in the background while an api.js to offer HTTP API ?

Any help is appreciated.

Thanks

Jeff

Welcome to the forum Jeff! You can try exporting your db and api files as modules, callling them in a central controller.js file, and then setting the start line as node controller.js.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.