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

https://github.com/roharon/google-drive-invite

Invite people to Google drive without your inconvenience
https://github.com/roharon/google-drive-invite

flask flyio google-api google-drive heroku heroku-deployment python web

Last synced: 17 days ago
JSON representation

Invite people to Google drive without your inconvenience

Awesome Lists containing this project

README

        

# google-drive-invite [![Fly.io Deploy](https://github.com/roharon/google-drive-invite/actions/workflows/fly-io-deployment.yml/badge.svg)](https://github.com/roharon/google-drive-invite/actions/workflows/fly-io-deployment.yml)

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

Just share this web! You can invite member *without your hands*😎

## Getting started

You can deploy google-drive-invite web with heroku.

### With Heroku

Should enter google api key

#### How to get Google API Token

1. Create New Project

2. Go to Credentials Tab and **Create credentials**

3. **If this is your first credentials**, then Configure Consent screen. You should set some information.

> If you have other credentials already, then skip to ***8***

4. Select ***External*** and click CREATE

5. Enter ***Application name***

6. Select ***Web application***, Enter the Name to identify.

And, Input the ***URL*** on ***Authorized redirect URIs***
> URL : `https://developers.google.com/oauthplayground`

7. You can find Credentials created.
Click the Name to get the credentials's more information

8. Copy ***Client ID*** and ***Client secret***.
It will be used to config deploy enviroment variable

9-1. Go to [https://developers.google.com/oauthplayground/](https://developers.google.com/oauthplayground/)

9-2. Paste ***Client ID, Secret*** on OAuth 2.0 Configuration(check Use Your own Oauth credentials) - On right section.

9-3.Select ***Drive API V3's*** *`https://www.googleapis.com/auth/drive`*, *`https://www.googleapis.com/auth/drive.file`*

And, Click **Authorize APIs** Button!

9-4. Click **`Exchange authorization code for tokens`**

You've got ***Authorization code***, ***Refresh token***

Use all of token to heroku deploy!