"I hear and I forget. I see and I remember. I do and I understand." ~ Confucius
We did not find an end-to-end solution+tutorial for registration in Hapi.js apps, so we wrote it.
if
anything is unclear in this (or any of our other repos),
please tell us:
This repo is a showcase for how to use the hapi-register plugin for a simple (yet complete) web/app registration process.
## Try it: https://hapi-reg.herokuapp.com/
The best way to get started is to run this example locally.
git clone https://github.com/dwyl/hapi-register-example.git
npm install
npm start
That's it.
Now, hack to heart's content!
When we submit the form without any of the required fields we see:
We also use https://github.com/chriso/validator.js to mitigate Cross Site Scripting vulnerability:
Displays welcome message on successful registration:
If you would like to see this example expanded,
please either create an issue
with a specific request or