This project is an open source version of a Buzzword Bingo game for meetings. The idea is to make the litany of meetings that we do more engaging.
This app takes advantage of several connected Google Cloud and Google Open Source technologies.
Database | Firestore |
Backend Server | Go running on App Engine with Memorystore (redis) as a cache. |
Frontend App | Angular |
Security | Identity Aware Proxy |
Build Chain | Github to Cloud Build |
- make
- gcloud cli
- firebase cli
- docker
- npm
- ng cli
- go
- Create a Google Cloud Project
- Set environmental variable
BINGO_PROJECT_ID
with project id of your project. - Perform multiple tasks by running
make project init
- Upgrade Firestore to Native Mode
- Setup Oauth on Project
- Set environmental variable
BINGO_OAUTH_ID
value given in IAP console. - Set environmental variable
BINGO_OAUTH_SECRET
value given in IAP console. - Eanble IAP by runninbg
make secure
- Initilize project using Firestore CLI
- Make copies of
frontend/src/environments/sample.environment.ts
andfrontend/src/environments/sample.environment.prod.ts
namedfrontend/src/environments/environment.ts
andfrontend/src/environments/environment.prod.ts
- Download Firebase config and copy into
frontend/src/environments/environment.ts
- Repeat for
frontend/src/environments/environment.prod.ts
Run make dev
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the js source files. If you update the Golang code, you will have to break out and rerun make dev
make deploy
In order to test you need to setup and install the Firestore emulator, which requires the JDK to be installed.
Setup a CLI pipeline on a git repo that runs a Cloud Build job to deploy to
App Engine. There is a cloudbuild.yaml setup and a builder directory available
for doing that. To do this, you need to run
make builders
and make savecreds
Then you can run Cloud Build deploys using make build
Readup on sending Cloud Build notifications using Mailgun.
Setup /functions/email/config.json
based on the sample file there.
Then run make function
Purge the system of games, boards, and most importantly, emails older than 30 days.
Set this up by running make schedule
This is not an official Google product.