Build Your First Node.js Website

Getting Started

Installation

  • Install node
  • Verify installation by running node -v in console

Getting Started

We'll first create our package.json file.

  • Run npm init
  • Remember to change the entry point to server.js
  • Run npm install express --save
  • Create server.js with touch server.js