Angular 2 And Sqlite Connection
I have done some Angular 2 for the first time and after the html and css I now am stuck at the DB connection. Here is what I am working with: app.component.ts (Loads the templateU
Solution 1:
You need to make a rest API.
The rest API seperates frontend (angular) from backend (database), it serves you data and it can take care of security.
You can use a framework such as express.js to make a rest API in node.
Express.js can also be used to serve your static files (angular project) (so you do not need appache or nginx).
Post a Comment for "Angular 2 And Sqlite Connection"