React example for Google Login using gapi-script npm package

This example was created with create-react-app.

Live example

This example only use the login and logout feature from Google gapi, it does not collect or store any data of your data in third party applications


Setup

Create your google project here at this link (chose the Web Browser option)

Then get your Cliente id and save it at .env.development file, and name your var as REACT_APP_CLIENT_ID

Then run the commands bellow:

yarn install

yarn start