Skip to content

mingderwang/go-polymer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy to GAE

  • create your gae project first
  • gcloud auth login
  • gcloud config set project muzha
  • goapp deploy -application <project_name> go-polymer

need to add your new web app URL in firebase

Go and Polymer - Friends Forever

This is an example application taken from the official Polymer tutorial, but modified to use Go to serve the json rather than a static json file. This can be used as a basis point for your projects where you want to use Go and Polymer.

This is ready to use standalone or on Google App Engine.

Live Demo

http://go-polymer.appspot.com/

Go Get

go get github.com/treeder/go-polymer
cd $GOPATH/src/github.com/treeder/go-polymer

Running locally

go build && ./go-polymer

Then check http://localhost:8080

Running on App Engine

Since this is ready to use on App Engine, you'll want to use the goapp tool.

goapp serve

Deploying on App Engine

Change the application name in app.yaml to your application name (from Google Developer Console), then:

goapp deploy

About

An example app that users Polymer with Go on the backend and can easily run on App Engine (or anywhere)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 85.5%
  • JavaScript 13.2%
  • Go 1.3%