Nodejs is needed for working reasons, so I found node. the js Development Guide is written in this book. BYVoid is a senior computer in the computer department of Tsinghua University. He is a year or two younger than me. To put it bluntly: 1. Why do I want to write this article? A: during reading this book, the usage of the upgraded nodejs version is different from that in the book. In addition, nodejs is really good and worth learning. 2. What is the difference between my example and the example in the book? A: The node. js version is different. The latest version is used in my example. Different databases use mongdb and mysql. Models-> used to put Model objects. The examples in the book include the post topic and the node_modules-> nodejs module of the user object, for example, mysql, express, connect-flash, ejs, jade, and other public-> are used to store public resources, such as samples, javascript, css, and other routes-> route files, it is used to process various get and post requests. configure in js) utils-> tool class, uuid here. js is used to generate idviews-> store page files. The ejs template engine app is used in the same way as in the book. js-> project portal database. js-> mysql database base package. json-> system configuration file (including the version information of some modules) setting. js-> Database Configuration File