Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.38 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.38 KB

muve-go alt text

assumptions

  • you have go1.10.1 installed
  • you have correcly setup GOPATH variable
  • you have installed mysql and you have mysql username/password

setup instructions

  • open terminal and execute following commands
$ go get -u github.com/lakshanwd/muve-go
$ cd $GOPATH/github.com/lakshanwd/muve-go
$ mysql -u <mysql-user> -p < backup.sql
$ cd go-crud
$ go get -v ./...
  • open a text editor and configure sql credentials in config.json
  • and finally $ go run server.go

There is the JWT authenticated golang api

testing

  • Open google chrome and install Restlet, sign in and click import and Select Restlet Client Repository and browse for the muve-go.json

database structure

alt text

docker

  • install docker-ce
  • install docker-compose
  • run $ docker-compose -f muve-go/docker-compose.yml up -d