The aim of this coding challenge is to create a registration page for new users.
Prerequisites: Node.js (18.12.1 or 19.3.0).
You can install all dependencies, create build files and start application using these commands:
$ npm install && npm run build && npm run previewOr additionaly, if you use yarn:
$ yarn && yarn build && yarn previewClick here to visit registration page and play with registration form.
The project is generated with vite using typescript and bootstrap to style frontend.
Registration form requires the following information:
- username
- password
- confirm password
- terms and conditions
Also, registration form checks validity of current inputs. If inputs do not satisfy conditions, the form shows up error message under relative input field.
Conditions of validity:
- the username must have at least three characters
- the email must be valid according to standard specifications
- the password must have at least eight characters, one lower case letter, one upper case letter and one number
- the confirm password must match the password
On submit, the application simulates the interaction with backend and print user data.