run components of a large project on separate machines
Place your existing node application in a sub directory, and create a server.js
file so it is relative to the other files like this. Let's assume we started with two node modules or servers that work together (api
and application
) We handled deployment and version control of these applications separately because, well, we had to, but it's about to get a lot easier.
├─┬ api