Ideas for further enhancements

The very first thing you may want to do in your application is sort messages by their creation date. You already know how to filter messages by group name. Feel free to update this code in order to assign the created date property to now each time you create and send a new message to the server.

Next, you can update the list query to order messages by date. You can find out more about this at https://github.com/angular/angularfire2/blob/master/docs/rtdb/querying-lists.md.

Another essential feature is to preserve the sender's information. You should retrieve the current username from the authentication layer and save it as part of the message object. By doing this, you can display author names in the user interface. Don't hesitate when it comes to experimenting; there are plenty of examples in the Google Firebase and AngularFire documentation.

In the next section, we are going to verify that the application works correctly with the Electron Shell and that it's ready to be packaged.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.63.236