Skip to content

bickyeric/graphql-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-sample

Development Guide

Installation

  • Install Git

    See Git Installation

  • Install Go (Golang)

    See Golang Installation

  • 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

References

About

Graphql implementation using Golang, MySQL for case Point Of Sale Backend

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors