Subscribe to access all episodes.
View plans →
Now that we’re using Phx.Gen.Auth to handle authentication, let’s get our email notifications working. We’ll update our app to use the Swoosh package to send the user notification emails generated with Phx.Gen.Auth.
There are many ways to add authentication Phoenix apps. Here we’ll explore the new Phx.Gen.Auth package and how easily it can be used to add authentication to Phoenix apps.
Let’s see how we can introspect Ecto Schemas using the __schema__ function. With it, we’ll be able to dynamically see what fields and associations a given schema has.
Now that we have a Plug.Router application working in development, let’s deploy it. We’ll deploy our app to Heroku.
Plug is a great option for smaller sites that don’t need a database and have limited routes. Here we’ll use Plug.Router to build a simple website that uses EEx to precompile our temples.
In this episode we’ll build on simple authentication by giving users the ability to reset their passwords.
It’s easy to add file uploads to your application with Waffle. Here we’ll learn how to use Waffle to help us upload images for a blog application to Amazon S3.
Make your code more readable by using the @impl attribute to mark what functions are implentations of callbacks.
In this episode, we’ll send events from a Phoenix LiveView JS Hook and broadcast them using Phoenix PubSub to update all subscribed clients in realtime.
© 2021 HEXMONSTER LLC