Subscribe to access all episodes. View plans →
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.
__schema__
Alchemist's Edition
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.
Phoenix LiveView provides JS Hooks as a way to integrate LiveView with JavaScript. In this episode, we’ll create a new Phoenix LiveView project and see how we can use a hook to integrate it with a color-picker library.
© 2024 HEXMONSTER LLC