/cloud-polymer-go

Sample App Engine application with Go, Cloud Endpoints, and Polymer

Primary LanguageHTMLApache License 2.0Apache-2.0

Polymer Gopher

This project is a sample web application hosted on App Engine composed of two App Engine modules:

  • a frontend written using Polymer
  • a backend written in Go

Running locally

To run this application locally install the Go App Engine SDK and then execute:

$ goapp serve dispatch.yaml frontend/app.yaml backend/app.yaml

Deploying the app on the cloud

And to deploy it:

  • Create a new Google Cloud project on the Google Cloud Console

  • Write your project id in every single yaml file:

	application: your-application-id
  • Then execute
$ goapp deploy backend/app.yaml
$ goapp deploy frontend/app.yaml
$ appcfg.py update_dispatch .

Then visiting http://your-project-id.appspot.com should show you the application running on the cloud.

The documentation generated for the Go backend is available on godoc.org.

Disclaimer

This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.