File: chat-websocket/node_modules/express/test.js

Recommend this page to a friend!
  Classes of Igor Escobar  >  Terminal Crossword  >  chat-websocket/node_modules/express/test.js  >  Download  
File: chat-websocket/node_modules/express/test.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Terminal Crossword
Generate a crosswords board on a text console
Author: By
Last change:
Date: 5 months ago
Size: 352 bytes
 

Contents

Class file image Download
/**
 * Module dependencies.
 */

var express = require('./')
  , app = express()

console.log(express.json());
app.use(express.favicon());
app.use(express.logger('dev'));
app.use(express.cookieParser('foobar'));
app.use(express.session());

app.get('/', function(req, res){
  res.send('hello');
});

app.listen(3000);
console.log('listening on 3000');