WebRef.eu  - Internet Marketing and Online Business Resources  

Home / Site Map | Blog | TwitterTwitter | Contact

Node.js Notes

Node.js Project Home Page

Create a Basic Web Server

https://youtu.be/U8XF6AFGqlc?t=993

npm init

Creates a package.json file.

https://www.youtube.com/watch?time_continue=924&v=U8XF6AFGqlc

Command Line

C:/Program Files/nodejs/node.exe

This is a command line where you can run JavaScript.

GetElementById does not work because this is JavaScript without the browser.

Express

Web development framework.

What is Node.js?

It's an Open Source server environment that runs JavaScript; this means you can run JavaScript on a machine and not just in the browser.

A Javascript runtime for servers.

Uses non-blocking I/O model - operates on single thread, can handle tens of thousands of connections concurrently. Uses Event listener.

npm - Node.js Package Manager

Used to install node modules/programs.

 

 



Visit LowPrices.co.uk for Your UK Shopping



 




Low Prices UK Shopping

Compare Prices
at LowPrices.co.uk


Home / Site Map | TwitterTwitter | Contact

All Content ©2018 WebRef.eu