Are recommendations for accessing MySQL from an Angular 2 application recommended?
I am new to Angular and Typescript. I found and installed the node-mysql package. I would like to select some datasets for computational analysis and some graphical representation (possibly with d3).
My own concept would be to implement a one-tier service that encapsulates connection calls and SQL.
But maybe I also think about the old school? Maybe there should be a different approach?
On the practical side, I don't know how to import a node-mysql package into Angular2 / Typescript - by importing the package at the top?
If someone could point me to an example, I would be happy to know.
mysql angular
user1840267
source share