It’s always good to know how to implement the boilerplate parts of a web application. Within the previous tutorial of this “learn hapi” learning path, you’ve implemented the sign up flow to onboard users.
Add the second part that belongs to user onboarding: the login flow. The current setup of your Futureflix instance allows users to sign up. Once the sign up completes, there’s no indicator that a user has an account or a valid login session.
You’ll add this missing piece by following this complete tutorial on how to implement a login flow. On top of that, you’ll remember the user with a cookie-based session.
To continue reading this premium tutorial go to futurestud.io!
Powered by WPeMatico
Gurupriyan is a Software Engineer and a technology enthusiast, he’s been working on the field for the last 6 years. Currently focusing on mobile app development and IoT.