Skip to content

Latest commit

 

History

History
36 lines (34 loc) · 859 Bytes

README.md

File metadata and controls

36 lines (34 loc) · 859 Bytes

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.