This is a basic restify server. It serves up a static html file.
This server requires node. Install dependencies with npm install
.
To run the server, use node server.js
. Files will be served from localhost:8000
.
For the validation server, we need a user registration with the following fields:
- User Name
- Must have a minimum length of 6 characters
- First Name
- Last Name
- Date of Birth
- Must be a date
- Email adress
- Must be valid email.
- Password
- Must have uppercase and lowercase characters, as well as a number.
- Password Confirmation
- Must match the entered password.
These fields must be validated on the client, as well as on the server.
- These links will be useful: