Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

googlearchive/appengine-nodejs-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

status: inactive

This sample has been moved into GoogleCloudPlatform/nodejs-getting-started.

appengine-nodejs-quickstart

A starter project for node.js on Google App Engine Managed VMs using Custom Runtimes.

Usage

Start by cloning this repository.

To run the app locally in the dev appserver:

gcloud preview app run app.yaml

If needed, you can enable debug output:

gcloud --verbosity debug preview app run app.yaml

To deploy the app in production:

gcloud --project YOUR-PROJECT-NAME-HERE preview app deploy app.yaml

Application layout

The main script for the application is server.js.

Static files are in the static directory. The app.yaml descriptor is already configured to serve all .html, .css and .js files under static as static content.

The main page for the application is static/index.html.

APIs

The documentation for the App Engine-specific APIs is on github under the appengine-nodejs project.

You may also find useful to use the following two libraries to access Google Cloud Platform APIs from node.js: googleapis and gcloud-node.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published