A Go + React web app to play FishBowl remotely! Get your friends on a video call, share a link to the game, and have everyone throw a few nouns in the "bowl" to get started :)
Frontend: Serverless React app deployed with Cloudflare Workers
Backend: Golang + Redis backend deployed to Digital Ocean with Kubernetes
CI/CD with Github Actions
This project requires Go, npm and Docker to be installed. On OS X with Homebrew you can install dependencies with:
| Dependency | Homebrew Install |
|---|---|
| Go | brew install go |
| npm | brew install node |
| Docker | brew install docker |
For development, you might find it easier to run the backend and frontend separately (outside of the docker container) so you can watch frontend changes.
Starting the go server:
$ make local-backendYou should keep this terminal open to see logs from the go service
In another terminal start the frontend with:
$ cd ./frontend/ && REACT_APP_WS_SCHEMA=ws REACT_APP_WS_HOST=localhost:8080 npm run startNote: If this is your first time running the app, you will have to run npm install before npm start.
You can view the frontend by navigating to http://localhost:3000
Run the backend unit tests with:
$ make testTo contribute to this project please create a feature branch and open a PR against the staging branch.