Skip to content

Commit 9d746e8

Browse files
committed
Setup Express application
1 parent 1cc4c8b commit 9d746e8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/app.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
'use strict';
2+
3+
var express = require('express');
4+
5+
var app = express();
6+
7+
app.use('/', express.static('public'));
8+
9+
app.listen(3000, function() {
10+
console.log("The server is running on port 3000!");
11+
});

0 commit comments

Comments
 (0)