A microservice to provide listing price recommendation given an item. Built in Go and Martini framework.
- Go (>=1.4)
Example:
wget https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz
tar -xzf go1.5.1.linux-amd64.tar.gz
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin
export GOPATH=$HOME/work
mkdir -p $HOME/work/src/github.com/jiang0131/ && cd $HOME/work/src/github.com/jiang0131
git clone https://github.com/jiang0131/ips.git
go get
go build
./ips
-
GET /item-price-service/
Query parameters:
- item [string]
- city [string]