I'm doing a dashboard project. I choose Angular2 as my front end framework.
I need to read data from Spanner. So I use C++ to get the data and use typescript to read the data and show them on website.
Should I separate the C++ part and Angular2 on two port?
I cannot run the Angular with HTTPServer.. Because I use RouteConfig in angular2. The typescript code managers the path but not HTTPServer.
Someone told me separate the API and typescript on two port is not graceful. So who can tell me what can I do in this situation?
Thanks!