Deploy Again

We’ve added a router, and our app can respond to the call to action button. We’ve got a way to add new routes and a nice suite of tests to show how it all works. Go ahead and deploy the app using the same ./sspa deploy_bucket command we used in Chapter 1. After that’s complete, bring up the app in a browser and give it a quick tour while we consider what’s next.

Next Steps

Now that you understand how a router works, here are some additional topics you might want to investigate. To keep things simple, we won’t explore them in the book, but you might want to check them out on your own before moving on to the next chapter.

Jasmine Matchers

Jasmine has support for all kinds of matchers, which are the functions you call after an expect ...

Get Serverless Single Page Apps 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.