Skip to content

dobkir/simple-form-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React JS simple form logo icon Simple registration form for ReactJS React JS simple form logo icon

Contributors  Forks  Stargazers  Issues  MIT License  Repository size  LinkedIn

Template preview

 The trailer of the Burger menu template 

Built With

  • Framework
    React

  • Languages
    Languages

  • Main language
    Main language

  • Others
    CSS3
    HTML5

  • Through:
    {}JSONBIN.io

  • IDE
    VSCode
    VSCode

Work description

It's a simple template of the registration form for ReactJS. As a fake API for testing of a form data fetching to the server has been used JSONBIN.io. To simplify development, two custom hooks have been created here. The form has validations for all the fields. All input is associated and dependent on the form local state. Also used preloader, which appears at the time of sending / receiving data from the server. The submit button is disabled after sending data to the server and before receiving a response from the server. There is a special field at the bottom of the form in which you can see the data that is entered into the form. This field is very useful for debugging, but, of course, it shouldn't be in the client version.

Running on your local machine

To get a local copy up and running follow these simple steps.

  • Git
sudo apt-get install git
  1. Clone this repository on local machine:
git clone https://github.com/dobkir/simple-form-react.git
  1. Install Node Package Manager on the directory with the cloning repository
npm install
  1. Run this template on your local machine
npm start

or

yarn start

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Gmail Badge

Project Link: https://github.com/dobkir/simple-form-react

Acknowledgments