Readme Topics
Hapi Plugins
- What are Hapi plugins and how are they important to the architecture of Hapi?
- What are the key features of Hapi plugins and how would you go about writing a plugin?
- What are the pros and cons of designing / building your app using plugins?
Authentication
(we'll be covering this topic in much more depth next week but for now just an introduction to it!)
- What is authentication and why do we need it when building web applications?
- What are authentication schemes and strategies?
- What are some of the different ways Hapi implements authentication?
- How would you use Hapi auth basic? (write a short tutorial)
Validation
- What is validation and why is it important (absolutely critical)?
- What is Joi and how would you use it with Hapi?
- Find some example situations where you'd use Joi
- Set up some validation schemas for these examples
Templating
- What is a templating engine and why would you use it?
- What is Handlebars.js?
- Write some examples of how you'd use Handlebars
- What are the advantages of using server side rendering vs rendering dynamic content on the client?
- How would you use Hapi's
views
interface to serve dynamic content?