Google Cloud Platform Tutorials

Step-by-step guides for Google Cloud services, Drive API, authentication, and more.

Google Cloud Project Setup & Enable Google Drive API

How to create a Google Cloud project, handle organization policies that block service account keys, and enable the Google Drive API for uploading files from a Node.js script.

OAuth 2.0 Authorization Script for Google Drive API

Build a one-time OAuth 2.0 authorization flow in Node.js that opens the browser, receives the callback, and saves a refresh token for unattended Google Drive uploads.

Auto-Upload Files to Google Drive from Node.js

Build a watcher script that monitors local directories and automatically uploads new JSON files to specific Google Drive folders every 60 seconds.