jindai1783 / Practice_Node_2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Practice Node 2

Introduction

This repository is a reference of building a Express server within Node. The server renders a single webpage with only "Hello World"

Tutorial

npm install -g grunt-cli
npm install --save-dev grunt
npm install -g grunt
touch Gruntfile.js

// And then, the magic...
npm install --save-dev mocha
npm install --save-dev chai
npm install --save-dev phantomjs
npm install --save-dev casperjs
npm install --save-dev mocha-casperjs
npm install --save-dev casper-chai
npm install -g phantomjs
npm install --save-dev grunt-mocha-casperjs

If we compare Node + Express with Sinatra...

alt text

About


Languages

Language:JavaScript 100.0%