Project overview

The classic socket-based application is creating a chat room. It's almost the Hello World of socket applications. The reason that a chat room is so useful for this is because it allows us to explore techniques such as sending messages to other users, reacting to messages from other users, and using rooms to separate where chats are sent.

Material design played a large part in its development over the past couple of chapters, so now is a suitable time for us to return to Bootstrap 4 and see how we can use it to lay out the interface in an Angular application. We will also work with Socket.IO at the client and the server to enable bi-directional communication. Something that has been lacking in previous chapters has been the ability to authenticate the user. In this chapter, we are going to bring in authentication support by signing up to use Auth0 (https://auth0.com/).

Working alongside the GitHub code, this chapter should take about two hours to complete. When completed, the application should appear as follows:

Now that we know what type of application we want to build, and what we want it to look like, we are ready to start building our application. In the next section, we are going to look at how to add external authentication to our application using Auth0.

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

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