Running a node project - Roche-Olivier/Samples-examples GitHub Wiki

Running your application

Run the application in the project root folder with the following command :

> npm start

We can do this because we have added the start command to the package.json file. i have removed all the other values so the command stands out clearly.

{
  "name": "",
  "version": "",
  "description": "",
  "main": "",
  "scripts": {
    "test": "",
    "start": "node index.js"
  },
  "author": "",
  "license": ""
}