Open bjchris32 opened 3 days ago
Phase1: Tutorial for action cable: https://www.youtube.com/watch?v=UvTLumcEMgU&ab_channel=Deanin
Phase2: Ruby on Rails does not directly interact with the WebSocket connection. Instead, it communicates with the Golang server using API requests to manage chat messages, while the client-side JavaScript in your RoR application handles the WebSocket. reference: https://github.com/minghsu0107/go-random-chat
Phase1: focus on frontend UI. In backend, just implement a simpler chatroom feature with action cable Phase2: focus on backend performance. Implement the chatroom feature with Elixir/Phoenix or Golang and then integrate into the project