#API RESTful using NodeJS ##Prerequisites ###npm >=2.15.9
sudo apt-get install npm
###nodejs >=4.6.1
sudo npm cache clean -f
sudo npm install -g n
sudo n 4.6.1
##Installation ###Run:
npm install
##Run server
npm start
NPM scripts allow to run easily certain tasks.
To run any script, use the command npm run script-name
.
Script name | Description |
---|---|
install | Download and install the necessary packages |
start | Run the server |