Lab 06 Exercises

A review of the exercises in the last lab + a tour of the freecodecamp javascript lesson plan
HAPI Philosophy

Introduce Hapi, positioning it within the spectrum for Node Frameworks. Identify Hapis' unique features.
Sessions

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.
Sessions in Hapi

The hapi-auth-cookie provides cookie management for Hapi applications, facilitating creating, read and delete of secure browser based cookies.
Lab-7 Sessions

Incorporate sessions tracking into the app, defining a session strategy, protected and unprotected routes and cookie paramaters.