-
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
-
Try
curl http://127.0.0.1:1234/graphql?query={storeList{name}} -g
bickyeric / graphql-sample Goto Github PK
View Code? Open in Web Editor NEWGraphql implementation using Golang, MySQL for case Point Of Sale Backend
License: MIT License