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 IDandProject numberunder I AM & Admin>settings to.envfile as below:
REACT_APP_DEVELOPER_KEY=xxxxxxxxxxxxxxxxxx
REACT_APP_CLIENT_ID=projectnumber-xxxxxxxxxxxxxxxx.apps.googleusercontent.com
REACT_APP_PROJECT_ID=projectnumber
npm installoryarn installnpm start(to spin up dev server)- Go to http://localhost:3000/