create initial package.json
$ npm init
create procfile
echo web: node index.js > Procfile
create local repo
$ git init
make initial commit
git add . && git commit -m "Initial commit"
create heroku app
$ heroku apps:create myapp
push to heroku
$ git push heroku master
add postgres addon
$ heroku addons:add heroku-postgresql:dev