Preparing for this chapter
This chapter uses the part2app
project from Chapter 12. No changes are required for this chapter. Run the command shown in Listing 13.1 in the part2app
folder to start the development tools.
Listing 13.1: Starting the development tools
npm start
Use a browser to request http://localhost:5000,
fill out the form, and click the Submit button, as shown in Figure 13.1.
Tip
You can download the example project for this chapter – and for all the other chapters in this book – from https://github.com/PacktPublishing/Mastering-Node.js-Web-Development. See Chapter 1 for how to get help if you have problems running the examples.
Figure 13.1: Running the example application