As announced some days ago in this tutorial we will see how to build a chat application using AngularJS as frontend and Loopback for backend. A demo can be found here. The communications from AngularJS to the backend will be made via REST API, meanwhile the real time messaging will be handled with Socket.io. The chat will be available only for registered users so we need to setup the authentication process in both AngularJS and in Loopback. A user, once logged in, can join an already created room or can create new rooms as he like.
Probably if you are developing web app you have found yourself reloading pages over and over again. Every little change in your code require a reload of the page by pressing F5. In this tutorial we are going to see how to use Grunt with Watch and Express to have a page autoreload every time a file change in the application.