Skip to content

📬 Integration beteween the React library and ViaCEP free API - Read more in https://viacep.com.br.

License

Notifications You must be signed in to change notification settings

iGerley/react-viacep-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React ViaCEP Integration

📲 📬 Integration beteween the React library and ViaCEP free API - Read more in https://viacep.com.br. If you're looking by an example of API calls made in React or a pinch of Sass preprocessor usage, you are at the right place. Clone this repository and be happy!

Installation

Install with npm:

npm install

Install with yarn:

yarn install

Build

yarn run build

Running on the Development Server

yarn run dev

Example of API expected result

{
  "cep": "74633-020",
  "logradouro": "Praça da Bíblia",
  "complemento": "",
  "bairro": "Setor Leste Universitário",
  "localidade": "Goiânia",
  "uf": "GO",
  "unidade": "",
  "ibge": "5208707",
  "gia": ""
}

More informations about ViaCEP API in https://viacep.com.br.