Subscription required

We're contionusly adding new episodes to IHP Casts. Continue your journey into real-world functional programming by subscribing to IHP Casts!

Watch all of IHP Casts for 10 € / Mo

IHP Casts is made by digitally induced, the company making IHP. By using a paid plan you're supporting our mission to drive the adoption of haskell in the software industry.

Episode completed

Next epsiode starting in 3 seconds

Published at

Script

User accounts are most commonly used for authentication, but they can also be used to store information like your name. Let’s incorporate things like your full name and a username to your account. We just need to add the fields for that to our users table and incorporate them in our new user view. With that information, we now can create a profile page for users. We can easily use the show view from the generated code. There, we can get information about the user and display the full name, username and email of the user. We can also display the First name in the navigation bar when a user is logged in with a link to the show user page.

Discussion