A small GraphQL API used to create and play games of Go.
- Start mysql;
$ docker run --name ko-mysql \
-p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=example \
-e MYSQL_DATABASE=ko \
-d mysql
- Run the app
$ go run main.go
TODO link mysql
$ docker build -t ko-app .
$ docker run -it -p 8080:8080 --rm ko-app
Run with Docker;
$ ./features/run.sh
Run without Docker (requires mysql to be installed with eg. brew install mysql
);
$ pushd ./features; bundle install; popd
$ cucumber