app.js 426 Bytes
var express = require('express');
var app = express();
var xml2js = require('xml-js');
var urlencode = require('urlencode');
var request = require('request');
var router = require('./router/main')(app);

app.set('views', __dirname + '/views');
app.set('view engine', 'ejs');
app.engine('html', require('ejs').renderFile);

var server = app.listen(3000, function(){
	console.log('good');
});

app.use(express.static('public'));