...

/

Loading Our First WebSocket

Loading Our First WebSocket

Understand the structure of the Phoenix application with the help of sample code.

Steps to load the hello_sockets application

We’ll need to perform another step to get the sample WebSocket to load. After the project is created, we’ll have an app.js file in the hello_sockets/assets/js/ directory. We’ll remove the comment on line 5 to import socket into the app.js file.

Access this course and 1400+ top-rated courses and projects.