Summary
In this chapter, we completed our application by adding a client-side router (and we learned about the two different kinds of routers and when each one is recommended).
We also implemented two tools that can help us build applications more confidently.
First, we added the Nightwatch.js framework to enable automated testing using a headless browser. Now that the framework is in place and you know how to run tests, writing them can be a fun exercise that we'll leave up to you.
Lastly, we added ESLint to enable the linting of our JavaScript code and Svelte components, so we can ensure that everyone in our team writes code that looks consistent, and debates such as putting a newline between if
and {
can be put to an end (maybe!).
In the next chapter, we'll look at how to bring our application to production publicly. We'll also look at setting up continuous delivery to complete our DevOps pipelines.