This week we are going to re-build our blog using hapi.
Your jumping off point is Nelson's learn Hapi repo and the hapi tutorials.
We recommend that your start with the following elements:
Your blog will have the following elements:
Using the hapi package itself (you may also want to follow Rails routing conventions).
Using lab (we actually covered a lot of this ground last week with shot).
Using joi. For storing and retrieving your data you can start by storing your data in a json file or you can jump straight into using MongoDB (with e.g. mongojs or mongoose) or LevelDB, or some other database.
Using bell or hapi-auth-cookie.
Split up into four different roles to explore routing, testing, validation and authentication.
If you have time, you can add:
And you can explore the following packages: