Running the example application
All that remains is to make sure the example application works as expected. Run the command shown in Listing 9.12 in the part2app
folder to start the development tools.
Listing 9.12: Starting the development tools
npm start
Give the tools a moment to start up and then use a web browser to request http://localhost:5000
. The browser will receive the HTML document defined in Listing 9.10, which contains a link to the bundle that is provided by webpack. Click the Send Request button and the client-side JavaScript will send an HTTP request to the backend server, producing the response shown in Figure 9.4.
Figure 9.4: Running the example application