OSDN Git Service

simple signup and login. Next, will modify note and worksapce api adding user info
[eos/zephyr.git] / server / app.js
1 'use strict';
2
3 var express = require('express'),
4     config  = require('./config'),
5     app     = express(),
6     server  = require('http').createServer(app)
7
8 require('./express')(app);
9 require('./routes')(app);
10
11 var server = app.listen(config.port, config.ip, function () {
12     console.log(config.root);
13     console.log('iEos listening at http://%s:%s', config.ip, config.port);
14     console.log(app.get('env'))
15 });
16
17 exports = module.exports = app;