goqldom
GraphQL based HTTP service for DOM selections.
Development
Requirements (once to build)
install Yarn and Parcel
yarn global add parcel-bundler
install frontend dependencies
yarn install
install Govendor and GoReleaser
go get -u github.com/kardianos/govendor
go get -u github.com/goreleaser/goreleaser
synchronize service dependencies
govendor sync
Build frontend assets (for every frontend change)
serve it on the fly
parcel serve -d foo index.html
run Parcel to build the static assets
parcel build -d assets index.html
build the virtual file system assets_vfsdata.go
of the static assets
go run service/vfs/generate.go
Run the service
just run the service main while developing
go run service/main.go
Test the release build
build the distribution without a tag
goreleaser --skip-publish --snapshot --rm-dist