Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 2 days ago
JSON representation

A ReactJs form validation using React Hook Form, Yup and fetch APIs

Awesome Lists containing this project

README

        

Form Hook Form


A ReactJs form validation using React Hook Form, Yup and fetch APIs


GitHub License
GitHub top language
GitHub last commit
GitHub pull request open
GitHub closed pull requests


Demostração do projeto

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