initial commit with apps from course repo

This commit is contained in:
Richard Allred
2019-05-23 13:13:16 -04:00
commit 497620c4d1
244 changed files with 6997 additions and 0 deletions

11
build-app/app.js Normal file
View File

@@ -0,0 +1,11 @@
var express = require('express');
app = express();
app.get('/', function (req, res) {
res.send('Simple app for the Building Applications Lab!\n');
});
app.listen(8080, function () {
console.log('Simple app for the Building Applications Lab!');
});

14
build-app/package.json Normal file
View File

@@ -0,0 +1,14 @@
{
"name": "nodejs-helloworld",
"version": "1.0.0",
"description": "Hello World!",
"main": "app.js",
"scripts": {
"start": "node app.js"
},
"author": "Red Hat Training",
"license": "ASL",
"dependencies": {
"express": "4.14.x"
}
}