Saturday, 10 June 2017

Getting data from mlab without request i.e. reloading the page to show in front end

So I know a lot of people has asked questions similar to mine, but I have a different problem. What I am hoping for is to retrieve data from my database in mlab without reloading the page. For example a current game score(in my example cricket score) is added to my db in mlab, now I want this new score in my front end web page without router request i.e. wanting a user to reload the page. Technologies I know and I am using is mongodb, mongoose, nodejs and express.

And I think angular or AJAX is going to help me but i have no idea about them. So please explain clearly and in detail.



via Vanshaj Behl

No comments:

Post a Comment