A review of the exercises in the last lab + a tour of the freecodecamp javascript lesson plan
Introduce Hapi, positioning it within the spectrum for Node Frameworks. Identify Hapis' unique features.
Keeping track of the currently logged in user is a challenge - as HTTP is, by definition 'stateless'. Hidden form fields, url rewriting and cookies are three common techniques for implementing sessions.
The hapi-auth-cookie provides cookie management for Hapi applications, facilitating creating, read and delete of secure browser based cookies.
The backend will use a modular approach, relying on specific mechanism to import/export shared objects
Incorporate sessions tracking into the app, defining a session strategy, protected and unprotected routes and cookie paramaters.