Express Framework support for Node.js
The Node.js extension will create a Node.js Get Operation object for the following Express declaration:
app.get('/login', function (req, res) {
"use strict";
console.log('login ' + req.url);
console.log('login ' + req.query.pseudo);
var currentSession = getSessionId(req, res);
datab.userExists(currentSession, req.query.pseudo, res, cbLogin);
});
and will create a NodeJS Service Operation object for the following Express declaration:
var admin = express();
app.use('/admin', admin);