API for home management stuff.
Setup the local PG database:
make docker
make seed
Run with gin auto-reload:
make run
curl localhost:3000/health
make psql
Make sure you have Go and the Heroku Toolbelt installed.
$ go get -u github.com/heroku/go-getting-started
$ cd $GOPATH/src/github.com/heroku/go-getting-started
$ heroku local
Your app should now be running on localhost:5000.
You should also install Godep if you are going to add any dependencies to the sample app.
$ heroku create
$ git push heroku master
$ heroku open
or
make clean-heroku
For more information about using Go on Heroku, see these Dev Center articles: