This exercise showcases the use of React + TypeScript + Tailwind CSS to build single-page applications following a Test-Driven Development approach.
The application has a form with three fields:
- "username", must be a valid email address;
- "password", must contain a capital letter, a numeric symbol, and a special number;
- "confirm password", must match the value of the password field.
The form has a button with the text "Sign In".
The form can be submitted if all the fields are valid.
Upon successful submission, a success message is displayed.
The technical solution chosen for implementing the requirements is explained in this Wiki page.
Clone the repository:
git clone [email protected]:yurivyatkin/react-signup-form.git
Install the dependencies
npm install
Run the development server:
npm run dev
Open the local copy at http://localhost:5173/.
Run the test runner:
npm test
Run Storybook:
npm run storybook
Open the link: Sign-Up Form.