This project is developed to upload files to Google Drive
using Google's drive api.
-
git clone https://github.com/harireddy7/react-google-drive.git
-
cd
react-google-drive
-
Add Google
API key
, OAuthClient ID
andProject number
under I AM & Admin>settings to.env
file as below:
REACT_APP_DEVELOPER_KEY=xxxxxxxxxxxxxxxxxx
REACT_APP_CLIENT_ID=projectnumber-xxxxxxxxxxxxxxxx.apps.googleusercontent.com
REACT_APP_PROJECT_ID=projectnumber
npm install
oryarn install
npm start
(to spin up dev server)- Go to http:https://localhost:3000/