hapi-register-example
v1.0.1
Published
Example of building a registration flow using hapi-register plugin for Hapi.js
Downloads
13
Readme
hapi-register-example
This example is a showcase for using the hapi-register plugin for a simple (yet complete) web/app registration process.

To run this example locally, simply:
1. Clone the repo:
git clone [email protected]:nelsonic/hapi-register-example.git2. Install Dependencies from NPM
npm install3. Run the Server
npm startThat'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:
Avoids Cross Site Scripting:

Displays welcome message on successful registration:

