Upon initialization, we will store it in a property on the service that any other component can use.
Even though I will be pointing them out as we go in this article, I suggest you read the on the topic to avoid confusion.
This all is standard Node application configuration, nothing specific to our app.
They are there to help you, so make sure you use them.
Navigate to the chat-app directory and run the following command to scaffold an application.
This will make it easier to reproduce, identify and fix bugs.
In addition to the application key, we also need to instantiate Pusher with our authentication endpoint that we created with Node.
We could achieve that with an array of messages that we are looping through in the view and display them.