📄️ What is Node.js?
Node.js is a JavaScript runtime environment based on the Chrome V8 engine that allows JavaScript code to run on the server side. This article will introduce the installation, version management, and usage of Node.js.
📄️ Installation and version management
How to install Node.js and how to use the Node.js version management tool for version management.
📄️ Buffer
aaa
📄️ Sync and Asynchrony
The difference between synchronous and asynchronous methods and their reasons, as well as how to choose to use synchronous or asynchronous methods in Node.js.
📄️ path module
The path module of Node.js provides a series of methods for processing file and directory paths, ensuring compatibility when processing paths on different operating systems.
📄️ fs module
The fs module is one of the core modules of Node.js and is used to interact with the file system. It provides a variety of methods to handle files and directories, including reading, writing, deleting, renaming, and monitoring file changes. The fs module supports synchronous and asynchronous operations to meet different usage requirements.
📄️ http module
The http module is one of the core modules of Node.js, used to create and serve HTTP servers.
📄️ modularity
Learn about the concept and usage scenarios of modularity in Node.js.
📄️ Package Manager
Introduces the functions, advantages and disadvantages of the commonly used package managers npm, Yarn and pnpm in Node.js.
📄️ Express framework
Express framework is a lightweight web application framework developed by Node.js.
📄️ Interface Development Example
Building a RESTful API can be achieved through the Express framework. The following is a detailed tutorial showing how to use Express to build a simple RESTful API. We will build a user management system that provides CRUD (create, read, update, delete) operations for users.