Useful links for Node.js

Node.js is a very powerful platform for building server-based applications.

I have put together a list of very useful links which help with building and working with Node.js

Download link for installing Node.js, or use Homebrew

https://nodejs.org/en/download/

Homebrew installation

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

It is also important to add build essentials should you need to add any add-on in the future.

sudo opt-get install -y build-essential

NPM Documentation site is useful

https://docs.npmjs.com/

One very useful section is the How to Prevent Permissions Errors

Monitoring files for change and Auto restarting

npm i -g nodemon

REPL – Read, Eval Print, Loop

A useful and cross-platform editor is the Atom Editor

If you are running on a Windows machine then it is best to use a Virtual Machine, V8 or Chakra

MongoDB

The prefered choice of data store currently is MongoDB, not only is it fast easy and very scalable, but it suits the Async nature of node.js.  You can download MongoDB here

The best module for Node.JS and MongoDB is Mongoose.  Mongoose provides a straight-forward, schema-based solution to model your application data. It includes built-in typecasting, validation, query building, business logic hooks and more, out of the box.

Mongoose quick-start guide

MySql

If you are old skool and using MySQL then it is worth downloading WorkBench to manage your databases