##################### GETTING STARTED WITH NODE AND NPM #################### According to W3School Definition : Node.js is an open source server environment Node.js is free Node.js runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.) Node.js uses JavaScript on the server
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
IDE: Visual Studio Code. Of course, you can use whatever your favorite IDE is. Atom. Brackets, Sublime Text are some examples
TO INSTALL nodejs, head over to: https://nodejs.org/en/ and install the latest version of the Node. YOU WILL GET:
NPM Package manager : https://www.npmjs.com/
Node package manager comes with the Node JS installation. Therefore, there is no need to install NPM separately.
If you would like to start tracking your dev and code dependencies in package.json file:
- Go to command line of the project folder. In VS code you can click on CTRL+ ~ and get the command line open at the buttom.
- Type npm init , follow the instruction to provide metadata or you can get all the defaults by typing npm init --yes