Graphql implementation using Golang, MySQL for case Point Of Sale Backend
Install Git
See Git Installation
Install Go (Golang)
Clone this repo in $GOPATH/src/github.com/bickyeric
Install Dep
See Dep Installation
Install dependencies
cd $GOPATH/src/github.com/bickyeric/graphql-sample
dep ensure
Copy env.sample and if necessary, modify the env value(s)
cp .env.sample .env
Prepare MySQL database
make db-up
make db-seed
Run Locally
make run
curl http://127.0.0.1:1234/graphql?query={storeList{name}} -g