Preparing for this chapter
This chapter uses the sportsstore
project created in Chapter 16. No changes are required for this chapter. Open a new command prompt, navigate to the sportsstore
folder, and run the command shown in Listing 17.1 to start the development tools.
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 to get help if you have problems running the examples.
Listing 17.1: Starting the development fools
npm start
Open a new browser window, navigate to http://localhost:5000
, and you will see the data read from the database presented in a simple table format, as shown in Figure 17.1.
Figure 17.1: Running the application