Part 3. Aurelia in the real world

 

We’ve come a long way together on our journey to build the next big virtual bookshelf SPA. You’ve combined the key tools available in Aurelia’s toolkit and created an application where users can log in, manage their collection of books, share them, and more. Through this development process, you’ve mastered technical concepts like custom elements, attributes, and value converters, and architectural concerns such as inter-component communication and the event aggregator. In part 3 of the book, it’s time to battle-harden the application and push it live.

How and when you should test is always a hot topic within development teams, but today almost everyone agrees that automated testing is “kind of a good idea.” In chapter 15, you’ll learn how to combine unit and end-to-end tests to ensure that your SPA is defect free before you deploy it live. You’ll do this by combining various testing tools including Karma, Protractor, and Jasmine, and you’ll wire it all together with the Aurelia CLI.

Once you’ve tested your application, you need a simple, repeatable way to create a deployment package and push the appication to production. In chapter 16, you’ll learn how to modify your Aurelia npm file to include a one-line command to create an optimized app package and deploy to Google’s Firebase cloud service.