RaniSputnik / ko

A small GraphQL API used to create and play games of Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KO

A small GraphQL API used to create and play games of Go.

Running the server

  1. Start mysql;
$ docker run --name ko-mysql \
    -p 3306:3306 \
    -e MYSQL_ROOT_PASSWORD=example \
    -e MYSQL_DATABASE=ko \
    -d mysql
  1. Run the app
$ go run main.go

Run with Docker

TODO link mysql

$ docker build -t ko-app .
$ docker run -it -p 8080:8080 --rm ko-app

Run feature tests

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

About

A small GraphQL API used to create and play games of Go.

License:The Unlicense


Languages

Language:Go 78.8%Language:Ruby 14.0%Language:Shell 3.8%Language:Gherkin 3.3%