parent
dfcc9fb4ba
commit
55fd420749
@ -0,0 +1,8 @@
|
|||||||
|
var express = require('express'); //require express package
|
||||||
|
var app = express(); //create application variable
|
||||||
|
|
||||||
|
//params: port, callback to execute once listening has begun
|
||||||
|
app.listen(3000, function () { //start app listening on port 3000
|
||||||
|
//once listening, execute this callback
|
||||||
|
console.log('Example app listening on port 3000!');
|
||||||
|
});
|
||||||
Loading…
Reference in new issue