top
(README.md)
# go-api
Great API template for heroku

## Useful commands

1. Heroku 
  * heroku local web
  * heroku logs --tail

  * heroku config

  * godep save

  * godep go install -tags heroku .

  * git push heroku master
  * git push heroku yourbranch:master

  * git push staging master
  * git push staging yourbranch:master

2. Sequel Gem
  * export DATABASE_URL=postgres://username:password@host:5432/databasename
  * rake db:migrate:up
  * rake db:migrate:down
  * export VERSION=2
  * rake dp:migrate:to

## External resources

1. Sequel Gem
  * http://sequel.jeremyevans.net/rdoc/
  * http://sequel.jeremyevans.net/rdoc/files/doc/migration_rdoc.html#label-TimestampMigrator+Filenames
  * http://obfuscurity.com/2011/11/Sequel-Migrations-on-Heroku

2. JWT
  * https://jwt.io

3. Heroku
  * https://devcenter.heroku.com/articles/git#deploying-code
  * https://devcenter.heroku.com/articles/multiple-environments
  * https://devcenter.heroku.com/articles/getting-started-with-go#view-logs

4. Elastic Search
  * https://github.com/olivere/elastic

5. Strip
  * https://github.com/stripe/stripe-go

6. Apple Push Notifications

## TODOs

- [ ] return errors in json format.
- [ ] bearer token support

Imports 4 package(s) ΒΆ

  1. github.com/maverickames/helm
  2. github.com/lib/pq
  3. github.com/jmoiron/sqlx
  4. golang.org/x/crypto/bcrypt