Sample codes to interact with Google drive using Node.js API
Usage:
- Download credentials.json from Google Developers console
- Generate token.json by running generateToken.js
- Interact with drive by importing googleAuth.js which takes a callback function as input which will be invoked after setting up OAuth2 token.