项目作者: joseliacosta

项目描述 :
Find any Brazil address by zip code :mailbox: See it alive:
高级语言: JavaScript
项目地址: git://github.com/joseliacosta/search-address.git
创建时间: 2017-02-18T22:27:55Z
项目社区:https://github.com/joseliacosta/search-address

开源协议:MIT License

下载


Search Address :mag:

Welcome! It’s my first project using React :atom_symbol:

I hope you enjoy this litte and modest project. If you have any questions or suggestions, please make a fork or open a issue, I will be glad to help & learn.

How it works

SearchAddress is easier. I’m using two APIs to find the street and render the map component:

  • ViaCEP - To find a zip code (CEP for brazillian guys) and return some infos about address;
  • Google Maps JavaScript API - To display a pin refer the address returned by zipcode, from ViaCep.

To mount the map component, I used:
-react-google-maps;

The style was made with Bootstrap 3, because I just needed basic components.

Also, to create the project and structure I’m trying create-react-app.

Special note
Responsive design! :iphone:

How to run:

  1. git clone this repo

Run

  1. npm install
  2. npm start

Well done!