GithubHelp home page GithubHelp logo

google-drive-extension's Introduction

Google-drive-extension

Setup your Environment

Prerequisites You need the following prerequisites:

  1. A Google Cloud project
  2. A Google account with Google Drive enabled

Enable the API

Before using Google APIs, you need to turn them on in a Google Cloud project. You can turn on one or more APIs in a single Google Cloud project. In the Google Cloud console, enable the Google Drive API.

Authorize credentials for a Web application

To authenticate as an end user and access user data in your app, you need to create a OAuth 2.0 Client ID. In the Google Cloud console, go to Menu menu > APIs & Services > Credentials. Go to Credentials

  1. Click Create Credentials > OAuth client ID.
  2. Click Application type > Web application.
  3. In the Name field, type a name for the credential.
  4. In Authorized JavaScript origins add this: http://localhost:8000
  5. In Authorized redirect URLs: add this: http://localhost:8000/profile.html
  6. Click Create. The OAuth client created screen appears, showing your new Client ID.

==> Copy this Client ID to Client ID field present in script.js file.

How to run

In Terminal

  1. To clone: Enter this cmd on terminal: git clone https://github.com/jlaxman/Google-drive-extension.git
  2. Change directory to Google-drive-extension: Enter this cmd on terminal: cd Google-drive-extension
  3. After above step run this cmd on terminal: python -m http.server 8000
  4. Open this http://localhost:8000 in your browser, to see application running

Note: Signin with same google account as per ClientID's google account

Application

Sigin Page

Profile Page

google-drive-extension's People

Contributors

jlaxman avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.