Coder Social home page Coder Social logo

yurivyatkin / react-signup-form Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.08 MB

An example of a signup form implemented within a React application.

Home Page: https://yurivyatkin.github.io/react-signup-form/

JavaScript 7.70% CSS 4.22% HTML 0.97% TypeScript 86.93% MDX 0.19%

react-signup-form's Introduction

Deploy

A Sign-Up Form Exercise

This exercise showcases the use of React + TypeScript + Tailwind CSS to build single-page applications following a Test-Driven Development approach.

Requirements

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.

Technical Solution

The technical solution chosen for implementing the requirements is explained in this Wiki page.

How to run locally

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/.

How to test

Run the test runner:

npm test

How to develop components in isolation

Run Storybook:

npm run storybook

See the deployed application

Open the link: Sign-Up Form.

react-signup-form's People

Contributors

yurivyatkin avatar

Watchers

 avatar

react-signup-form's Issues

Describe the proposed technical solution.

The README.md file is suitable for all initial thoughts and findings.

Sharing the link to the repository immediately gives access to the stakeholders who can provide their technical solution review feedback in the comments on this issue.

Update README.

We need to add a brief description of the project.
We can use some parts of the Technical Stack from the Wiki.
A link to the deployed application must be somewhere in the README file or the repository description.

Build the initial static prototype.

We can quickly prototype the desired design using the technologies already enabled in the base application.

For that, we need to perform the following steps.

  1. Implement all the ingredient components in the Storybook:
  • Input (with variants);
  • Button (with variants);
  • Card;
  • Form;
  • Page.
  1. Assemble the signup page from the obtained components. Make this page the initial view of the app.
  2. Ensure that the markup is responsive, that is, the form is usable for various screen sizes.

Don't implement the behaviour yet (no validations, no submit, etc, as they will be implemented in the following tickets).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.