
Key terms appear again at end of chapter 13.8 Chapter Summary. 13.8.1 Key Terms. Review questions at end of chapter provide opportunity for self-testing. 13.8.2 Review Questions 1. What are the key advantages and disadvantages of using Node? 2. what is npm? what is its role in contemporary web development? 3. A non blocking architecture can typically handle more simultaneous requests. why is that? 4.what are modules in JavaScript? How does the Node CommonJS module mo system differ from the one introduced in E S 6?. 5. In the context of Node, What is Express? 6. What are Express routes? it is middleware." Projects contain step-by-step instructions of varying difficulty. Each chapter ends with three projects that allow the reader to practice the material covered in the chapter within a realistic context. 13.8.3 Hands-On Practice. Project 1: Difficulty Level: Beginner Overview In this project, you will be creating a data retrieval API. Instructions 1. You have been provided a folder named project1, that contains the data and other files needed for this project. Use npm init to setup the folder, and npm install to add express. 2. Name your server file art.js. Add a static file handler for resources in the static folder. 3. The data for the APIs is contained in a supplied json file. Create a provider module for this file.
Back