Skip to content

nneibaue/go-fishbowl

 
 

Repository files navigation

go-fishbowl

check out the game here: fishbowl.rocks

A Go + React web app to play FishBowl remotely

Getting started

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

Local Dev

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:

$ docker-compose up db
$ go run cmd/go-fishbowl/main.go

You can hit the api directly to start games and add cards curl POST localhost:8080/v1/api/game/

And in another terminal starting the frontend:

$ cd ui/ && npm start

Note: 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

To deploy the web app locally should be as simple as:

$ make local

Then navigate to http://localhost:8080 to check out a preview of the dockerized app as it will be deployed to production

Testing

Run the backend unit tests with:

$ make test

About

Go + React web app to play FishBowl remotely:

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 59.7%
  • JavaScript 24.9%
  • CSS 5.5%
  • Makefile 4.3%
  • HTML 4.3%
  • Dockerfile 1.3%