Skip to content

GBCBlockchain/hellonode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install Node, NPM (NVM for MacOsx & Linode)

Introduction to Node & NPM

  • Create a simple 'hello world' server
  • Demo npm init to create package.json and npm install to install packages.
  • Launch the server node hello_world.js
  • Add Capability to read a file from disk and return it in a response
  • Use vscode debugger to run the server and set breakpoints. Make a request on 127.0.0.1:3000 to hit the breakpoints and inspect the server.
  • For non vscode can use the --inspect flag node --inspect hello_world.js then follow the instructions.

About

Introduction to Node & NPM - Simple Server Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published