I'm starting a MEAN project where the node/express server will be a REST api server, only sending json in response to the defined routes.
I have one mongodb with several collections and a few client apps to query the collections.
Is it a bad idea to have one server that communicates several angularjs apps or should I keep things separated so I have a unique server for each client app?
I'd set up nginx to reverse proxy in any case, whether I have a single node server or several.
I'm pretty new to node--on one hand I like the separation that several servers would provide, but if I'm only returning json from one mongodb server, why not have a single server with modularized routing code?
thanks,
--Tim