Initial commit, including all apps previously in course

This commit is contained in:
Jordi Sola
2019-10-04 13:04:03 +02:00
parent a87e659954
commit f7cd8963ef
58 changed files with 2529 additions and 0 deletions

11
nodejs-helloworld/app.js Normal file
View File

@@ -0,0 +1,11 @@
var express = require('express');
app = express();
app.get('/', function (req, res) {
res.send('Hello World!');
});
app.listen(8080, function () {
console.log('Example app listening on port 8080!');
});

View File

@@ -0,0 +1,11 @@
{
"name": "nodejs-helloworld",
"version": "1.0.0",
"description": "Hello World!",
"main": "app.js",
"author": "Red Hat Training",
"license": "ASL",
"dependencies": {
"express": "~4.14.2"
}
}