|
@@ -0,0 +1,12 @@
|
|
|
+var express = require('express')
|
|
|
+var app = express()
|
|
|
+var port = 10011;
|
|
|
+app.use(express.static('static'))
|
|
|
+
|
|
|
+app.post('/', function (req, res) {
|
|
|
+ res.send('Hello World!')
|
|
|
+})
|
|
|
+
|
|
|
+app.listen(port, function () {
|
|
|
+ console.log('Example app listening on ' + port + '!')
|
|
|
+})
|