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

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/96efd5aa-3d39-473c-87fa-6a53b615739c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to