Testing the user connection

I'll close both of my old tabs and open up Developer tools before ever visiting the page. Then, we can go to localhost:3000 and we should see a little message in Developer tools:

Here we see a new message, Welcome to the chat app, printing, which is fantastic!

Next up, we want to test that the broadcast is working as expected. For the second tab, I'll also open up Developer tools and go to localhost:3000 once again. Once again, we get our little message, Welcome to the chat app:

If we go to the first tab, we also ...

Get Advanced Node.js Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.