I am struggling with the project structure for the Node.js website and Angular 2. I am using: Nodejs + Express for the server side. Angular 2 for the client side.
In most of the manuals I found, people used both technologies in one project. They have a client and server folder, but package.json is in the root. This seems strange to me because your .json package will get confused because it mixes up with server and client side dependencies.
I was thinking of creating 2 projects: one for Node.js on the server side and one for Angular 2 on the client side. But I'm not sure if this will work, and if it's the right structure.
Is there a reason people put everything in one project? Or is it better to create 2 projects?
source
share