Back-end code for scu-events
go get google.golang.org/api/calendar/v3
go get golang.org/x/oauth2
- Create OAuth Client ID (Application type: Other)
- Download the credentials, save it as client_secret.json
- Run the server
go run server.go
- Follow the instruction in the log and the browser to retrieve token.json
go run server.go
GOOS="linux" GOARCH="amd64" go build server.go
Then deploy the binary executable to a linux based machine