-
Frank Kumro authored
Phoenix Channels is listening (via JS) on the frontend to `room:weather` and updating the wind speed as messages are received. The Nerves application is uing phoenix_gen_socket_client to join the `room:weather` topic and emit `new_weather` messages with readings from the wind speed and temperature data every second. A supervisor will start the socket connection and register its pid with the Registry. This allows the use of `Process.send/3` and `handle_info` for communication over the socket. I removed the default css cruft that comes with Phoenix 1.4 in favor of TailwindCSS. A basic two card layout was used to display data for now.
0d571e20