Kubernetes-native Phoenix Apps: Introduction and Part 1 A simple, drop-in plug for shallow ETags

Phoenix 1.4 Chat Server: Part 1

This is the first part of a longer series.

Setting up Phoenix 1.4 and Webpack with Babel and Sass

First we update our installers to use Phoenix 1.4 (rc 2) and create the chat server app.

Then we make sure we’ve got Cowboy 2 and Ecto 3, and check out the new changes in 1.4. Channels have changed a bit and the code in endpoint.ex and user_socket reflects it. Another big change is swapping out Brunch for Webpack.

Finally, we’ll install node-sass and sass-loader and adjust our to our Webpack setup so we can use SCSS instead of CSS.