Summary

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 ...

Get Mastering JavaScript Single Page Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.