I'm building a Nodejs + Angular2 project for the first time and stuck with architecture design issue.
There are following possibilities:
- Develop Angular2 project separately, build and copy the files into Nodejs project
- Develop Angular2 project from within Nodejs project (say from public folder)
- Run two servers for Angular2 as frontend and Nodejs as backend (how to do this in shared hosting then? AWS is fine)
Using yeoman for creating projects for both Angular2 and Nodejs. Which is the best option? Any other idea?