Skip to content

hoqu-io/hoqu-tracker-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HOQU Tracker API by GoLang

Provides all tracker-ui widgets and webmaster integrations the opportunity to manage leads through REST requests.

Installation

Install GoLang and setup local environment

Install govendor

go get -u github.com/kardianos/govendor

Sync vendor packages

govendor sync

Building

Build Tracker API

cd $GOPATH/src/hoqu-tracker-api
go build

Execution

test node via rinkeby.infura.io

Run API

./hoqu-tracker-api

production with own node

Run API

APPLICATION_ENV=pro_net ./hoqu-tracker-api

Development

Generate API documentation

Install go-swagger

Generate swagger.json

cd $GOPATH/src/hoqu-tracker-api
swagger generate spec -o ./data/docs/swagger.json

Releases

No releases published

Packages

No packages published