Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renantrs/form-hook-form
A ReactJs form validation using React Hook Form, Yup and fetch APIs
https://github.com/renantrs/form-hook-form
axios cep-validator context-api cpf-validator ibge-api react-hook-form reactjs styled-components typescript viacep-api yup-validation
Last synced: about 1 month ago
JSON representation
A ReactJs form validation using React Hook Form, Yup and fetch APIs
- Host: GitHub
- URL: https://github.com/renantrs/form-hook-form
- Owner: RenanTRS
- License: mit
- Created: 2022-03-08T16:06:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-20T05:12:07.000Z (over 2 years ago)
- Last Synced: 2024-10-05T14:30:51.410Z (about 2 months ago)
- Topics: axios, cep-validator, context-api, cpf-validator, ibge-api, react-hook-form, reactjs, styled-components, typescript, viacep-api, yup-validation
- Language: TypeScript
- Homepage: https://formhookform.netlify.app/
- Size: 1.48 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Form Hook Form
A ReactJs form validation using React Hook Form, Yup and fetch APIs
## About this project
This project is part of my personal portfolio.## Why?
The purpose of this project was to learn form validation using **react-hook-form**, **yup** libs and also **fetch APIs**## How to use
To clone and run this project, you'll need **[Git](https://git-scm.com)**, **[node v14.19.1](https://nodejs.org/en/)** or higher + **[yarn v1.22.15](https://yarnpkg.com)** or higher installed on your computer. From your command line:
```bash
#Clone this repository
$ git clone https://github.com/RenanTRS/form-hook-form.git#Go into the repository
$ cd formhookform#Install dependencies
$ yarn#Run
$ yarn dev
```## Built with
- [Vite](https://vitejs.dev/guide/#scaffolding-your-first-vite-project)
- [ReactJs](https://reactjs.org/)
- [TypeScript](https://www.typescriptlang.org/)
- [styled-components](https://www.styled-components.com/)
- [react-hook-form v7](https://react-hook-form.com/)
- [yup](https://github.com/jquense/yup)
- [validations-br](https://openbase.com/js/validations-br/documentation)
- [axios](https://axios-http.com/docs/intro)
- [viacep API](https://viacep.com.br/)
- [ibge API](https://servicodados.ibge.gov.br/api/docs/localidades)## Contact
- Email me - [email protected]
- Connect with me on [LinkedIn](https://www.linkedin.com/in/renantrsouza/)## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/renantrs/form-hook-form/blob/main/LICENSE) file for details.