-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathserver.js
More file actions
24 lines (18 loc) · 744 Bytes
/
server.js
File metadata and controls
24 lines (18 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
* @author Helena
*/
var controller = require("./controler/controller.js");
var view = require("./view/view.js");
//controller.user.call_tnrs(['homo sapiens', 'mus musculus']);
//controller.user.call_store_tree(['homo sapiens', 'mus musculus']);
//controller.user.call_topology(['homo sapiens', 'mus musculus']);
controller.user.call_tree_branch_length(['homo sapiens', 'mus musculus']);
//controller.user.call_visualize_tree(['homo sapiens', 'mus musculus']);
/*
* this will put all the good stuff acesible as a service
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');
*/