hello-mongoose: Using Mongoose.js for elegant MongoDB object modeling in Node.js.
To deploy the app to Heroku you can use the Heroku button or follow these steps:
git clone git://github.com/mongolab/hello-mongoose.git && cd hello-mongoose
heroku addons:add mongolab
git push heroku master
The app can be debugged and tested using the Heroku Docker CLI plugin.
Make sure the plugin is installed:
heroku plugins:install heroku-docker
Configure Docker and Docker Compose:
And run the app locally:
The app will now be available on the Docker daemon IP on port 8080.
You can also use Docker to release to Heroku:
heroku create heroku docker:release heroku open