I have to run three separate app in node js listening port 80.Now i am using this method
app.get('/barcelona/*', function(request, response) {
});
app.get('/real_madrid/*', function(request, response) {
});
app.get('/manchester/*', function(request, response) {
});
When i change something in "barcelona" or "real_madrid" or "manchester" ,I have to restart all my application.If any syntax error , the whole app will down. I want something like php.the error in apps will not affect each other.How can i do this?