Subscribe to access all episodes. View plans →
In this episode we’ll see to use Torch to generate admin pages that look great.
Alchemist's Edition
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.
__schema__
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.
© 2024 HEXMONSTER LLC