-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Just trying to figure out whats the best way to build an angular 2 fullstack application, where the nodejs server is serving both, a backend endpoint (eg rest/graphql/apollo) as well as the angular 2 app?
- Is there any structural work / concepts done on this already? Is this in the mind of the angular-cli team?
- Whats the "best practice" structure?
- Having 2 git projects, one for backend, one for the frontend? (If yes how do you wire these together while developing and later in production? how you later server them from one nodejs server?)
- Having 1 nodejs server for the backend as well as frontend (how you expose node_modules and stuff for development and only deploy a build version in production? How you handle node modules?
- How does a build scenario for this look like?
- What about server side rendering and angular universal in this context? Any work done in this direction yet? (I'd like to build on a structure which will allow to add server side rendering in future.)
- How does angular universal resolve data loading?
Even though the question does not fit the bug reports I hope its the right place to ask this question?
Thx I really appreciate your expertise!
afbayonac, BenjaminHofstetter, rob-myers, MrBlaise, mhxbe and 8 more
Metadata
Metadata
Assignees
Labels
No labels