4 chive - A PWA starter with Go using the Chi router, MongoDB, and Vue for the client.

github.com godoc.org goreportcard.com posted by Tom Utley 2003 days ago  

I made this project as a starter/boilerplate for people interested in writing web applications with Go as the server side. I've designed this application so that it actually takes all of the client files and embeds them in a go package which then compiles into the built binary. The result is a single binary that serves up the javascript client and provides the API backend. I've used Vue in this example as the Javascript framework but that is all contained in the client directory and could be whatever you want, as long as the resulting production assets are put into the chive-dist folder before you build the project. Anyway check it out and hopefully this will be useful for someone.

Register to comment or vote on this story