/appengine

Primary LanguageTypeScriptMIT LicenseMIT

Logging service:

https://console.cloud.google.com/logs/query?folder=true&organizationId=true&project=node998877&query=%0A

App Engine TypeScript sample

This sample provides an example of how to compile TypeScript files while deploying to App Engine.

The gcp-build NPM script is used to trigger the TypeScript compilation process. This step happens automatically when deploying to App Engine, but must be performed manually when developing locally.

Setup

Install dependencies:

npm install

Running locally

  1. Perform the build step:

    npm run gcp-build

  2. Run the completed program

    npm start

Deploying to App Engine

Deploy your app:

npm run deploy

By default, this application deploys to App Engine Standard. (Recommended) Deploy to App Engine Flexible by [modifying app.yaml][app_yaml].