social network – node.js learning 1

Chapter 1 Intro node.js

create a highly re‐ sponsive application

Using Node.js, Backbone.js, and MongoDB 

serve UI (as in the case of Backbone in the web browser), authentication (as in the case of Node on the web server), or

persistence (as in the case MongoDB) 

 Chapter 2 – node.js

installing node.js, backbone.js, and mongoDB.

Node provides a JavaScript runtime environment, which you can access at any time by going into your command prompt or terminal window and typing node.  

node filename.js. 

To install a library using npm, run the npm command with the library name as its pa‐ rameter, like this: npm install async. 

The application in this book makes heavy use of the Express framework. Built upon the Connect HTTP server framework, Express provides view rendering and a language for describing routes. 

 

Node was installed at

 

   /usr/local/bin/node

 

npm was installed at

 

   /usr/local/bin/npm

 

Make sure that /usr/local/bin is in your $PATH.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s