phoenix

Building an Elixir Umbrella App with Phoenix and React: Part III

Building a Phoenix 1.3 with React + Redux App You can check out parts I and II here and here. Building the Phoenix Child App Our Phoenix app will be pretty simple. It will take in a list of song ISRCs, rely on the Deliveries app to make a request…

Building an Elixir Umbrella App with Phoenix and React: Part II

Building a YouTube API Client with Elixir In Part I of this series, we learned about umbrella apps, and designed the archicture of our brand new umbrella app. Our umbrella app is responsible for communicating with YouTube regarding the state of song deliveries. It will have two child apps. One…

Building an Elixir Umbrella App with Phoenix and React: Part I

Building an Elixir Umbrella App In this series, we'll builld out an Elixir umbrella app with two child applications. One of our child applications will be a Phoenix API with a React + Redux front-end. Another child app will build out a YouTube API client written in Elixir. In this post,…

Using Agent to Maintain Channel State in Phoenix

In my previous post, we used Phoenix Presence to track user presence in a given "challenge room" (think: chat room). In this post, we'll build our own Agent-backed module to track channel state that does not pertain to user presence. In our pair programming app, the shared text-editor is accompanied…

Tracking User State with Phoenix Presence, React and Redux

In any application, you may need to track user involvement in real-time features. In a gaming, chatting or otherwise real-time and interactive application, we want to track things like which users are present in a chat/game/live stream or who is typing a message/shooting aliens/streaming a thing.…