
Node.js Tutorial - W3Schools
Learning by Examples. Our "Show Node.js" tool makes it easy to learn Node.js, it shows both the code and the result.
Node.js Get Started - W3Schools
Once you have downloaded and installed Node.js on your computer, let's try to display "Hello World" in a web browser. Create a Node.js file named "myfirst.js", and add the following code:
Node.js HTTP Module - W3Schools
Node.js has a built-in module called HTTP, which allows Node.js to transfer data over the Hyper Text Transfer Protocol (HTTP). To include the HTTP module, use the require() method: var http = require('http');
Node.js File System Module - W3Schools
The Node.js file system module allows you to work with the file system on your computer. To include the File System module, use the require() method: var fs = require('fs');
Node.js Introduction - W3Schools
What Can Node.js Do? Node.js can generate dynamic page content; Node.js can create, open, read, write, delete, and close files on the server; Node.js can collect form data; Node.js can add, delete, modify data in your database
Node.js NPM - W3Schools
NPM is a package manager for Node.js packages, or modules if you like. www.npmjs.com hosts thousands of free packages to download and use. The NPM program is installed on your computer when you install Node.js
Node.js Send an Email - W3Schools
Code Editor (Try it) With our online code editor, you can edit code and view the result in your browser
Node.js Events - W3Schools
Node.js has a built-in module, called "Events", where you can create-, fire-, and listen for- your own events. To include the built-in Events module use the require() method. In addition, all event properties and methods are an instance of an EventEmitter object.
Node.js MongoDB Insert - W3Schools
In the example above no _id field was specified, and as you can see from the result object, MongoDB assigned a unique _id for each document. If you do specify the _id field, the value must be unique for each document:
Node.js MongoDB Get Started - W3Schools
To be able to experiment with the code examples, you will need access to a MongoDB database. You can download a free MongoDB database at https://www.mongodb.com. Or get started right away with a MongoDB cloud service at https://www.mongodb.com/cloud/atlas.