We began this chapter by using Grunt to package up our app into a dist folder. We used Grunt plugins, installed using NPM, to do things such as minify our code. We spent a little time exploring the Grunt plugin ecosystem, which is quite vast and well supported.
We then prepared to deploy our app to the web by setting up a cloud-based database. We created an account on MongoLab, and then created a new database. We then added a user to the database so that we could access it from our application.
We then set up an account on Heroku, and prepared our application for deployment. We installed the HerokuToolbelt, which allowed us to create a new Heroku application deployment. We accessed our application through the Heroku dashboard and added our environment variables. Finally, we pushed our project to Heroku using Git.
We wrapped up by briefly touching on topics such as scaling the database and the server. Using PaaS and a web-based database management system, we are well set up for when...