APi $ HTTP For MySQL Database Requests

0

I've seen in classes and video lessons the staff using this $http when making requests with AngularJS, but they always pass a friendly url when making the connection and I do not know how they do it because type they do not pass neither user nor password, nothing, and still they can make the connection and I do not understand and I can not continue the course with or with the tutorial

    
asked by anonymous 08.11.2016 / 22:08

1 answer

1

AngularJS is executed on the client side is made a request for a URL, this URL must be provided by an application server APACHE, NODEJS among others. The tutorials you should be following should abstract the server logic where the connection to the database is made, the query and the treatments.

I suggest you watch the videos of Rodrigo Branas he has a video about backend integration.

    
08.11.2016 / 22:20