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

https://github.com/zheeeng/google-contacts

Google Contacts Demo
https://github.com/zheeeng/google-contacts

contacts google google-contacts material-ui reach-router react typescript

Last synced: 15 days ago
JSON representation

Google Contacts Demo

Awesome Lists containing this project

README

          

# Google Contacts

[![Greenkeeper badge](https://badges.greenkeeper.io/zheeeng/google-contacts.svg)](https://greenkeeper.io/)
[![language](https://img.shields.io/badge/%3C%2F%3E-TypeScript-blue.svg)](http://typescriptlang.org/)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()
[![travis](https://img.shields.io/travis/zheeeng/google-contacts.svg)](https://travis-ci.org/zheeeng/Google-contacts/)
[![demo](https://img.shields.io/badge/Demo-GithubPages-green.svg)](https://contacts.zheeeng.me/)

Google Contacts Demo

# Demo Site

https://contacts.zheeeng.me

## Setup

### Prerequisite

Make sure you have got the Google APP Key and a Client ID, you may get them through the following link:

https://console.developers.google.com/start/api?id=people.googleapis.com&credential=client_key

### Cli

Take the `yarn` as the example:

git clone this repo and then install dependencies:

```sh
> git clone https://github.com/zheeeng/Google-contacts.git
> cd Google-contacts
> yarn
```

Provide these keys as environment variables:

```shell
> REACT_APP_GOOGLE_APP_KEY= REACT_APP_GOOGLE_CLIENT_ID= yarn start
```

## Build

```shell
> REACT_APP_GOOGLE_APP_KEY= REACT_APP_GOOGLE_CLIENT_ID= yarn build
```

## Note

1. App requires you login with Google Account and Chrome will warns you insecure accessing, just bypass it and authorize your consent.
2. git ignores `/public/CNAME` file, it means you could add your own `/public/CNAME` file for hosting your site using github pages.