Skip to content

Google Cloud Setup

Rajat Kulkarni edited this page May 8, 2025 · 7 revisions

Prerequisites

  1. A Google Cloud Platform (GCP) account.
  2. A Google Cloud project with the Text-to-Speech API enabled.
  3. The Google Cloud SDK installed and initialized.
  4. Billing enabled on your GCP project.

GCP Vercel Integration

  • Follow the GCP Vercel Integration Guide to configure GCP for production deployment.
  • Since we are initializing with GCP, we do not need to set GOOGLE_APPLICATION_CREDENTIALS manually.

For local deployment

Testing

  • Our web application is serverless in production. For local development, use the Vercel CLI.

  • Run vercel dev in one terminal.

  • The local server runs on port 3000 by default. Monitor the vercel dev terminal for POST request logs and potential errors.

  • Since we use Vercel, our backend and frontend are hosted at the same URL - localhost:3000.

Common Issues & Fixes

Error: Failed to generate TTS

Ensure that the Text-to-Speech API is enabled in GCP.
Check if the GCP project is properly initialized.

Error: 403: Permission denied

Verify that the IAM permissions for your GCP account include roles/texttospeech.admin.
Run gcloud auth application-default login to authenticate properly.
Run gcloud auth application-default print-access-token to check access token is successfully generated.

Basic Website

  • Introduction
  • For Everyone
  • For Developers
  • For Designers
  • For Management

GameZone

  • Introduction
  • For Everyone
  • For Developers
  • For Designers
  • For Management

Reusable Vue Components

  • Banner
  • Other Reusable Components (to be added)

Web Accessibility

Introductory Resources

Clone this wiki locally