websockets

JWT Auth with Phoenix and React Router 4

Since I clearly cannot get enough of JWT authentication, here's a look at how to use it to authenticate your shiny new Phoenix API with a React + Redux front-end application, using React Router 4. In this post, we'll cover: Using React Router 4 to set up both regular and authenticated…

Real-Time React with Socket.io: Building a Pair Programming App

The best things are real-time things, so I won't bore you with another introduction on why we all need to build real-time features into our applications. People want to chat and share files and collaborate on documents and projects and put pictures of cats on things in real-time. So, how…

Rails 5 Action Cable with Multiple Chatroom Subscriptions

In my apparently never-ending quest to do more Action Cable all the time, I decided to tackle a implementation of Rail 5's Action Cable with multiple chatroom subscriptions. While the newly updated Rails docs provide excellent explanations and examples, there does seem to be a dearth of info on setting…