diff --git a/app.js b/app.js index e69de29bb..a6c4f486b 100644 --- a/app.js +++ b/app.js @@ -0,0 +1,14 @@ +const express = require(`express`); + +const app = express(); + +app.get(`/home`, (req, res,) => { + res.send(`Welcome User`); +}); + +app.use(express.static(`public`)); + + +app.listen(3000, () => { + console.log("server listening"); +}); diff --git a/package.json b/package.json new file mode 100644 index 000000000..3ffb90916 --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "lab", + "version": "1.0.0", + "description": "![logo_ironhack_blue 7](https://user-images.githubusercontent.com/23629340/40541063-a07a0a8a-601a-11e8-91b5-2f13e4e6b441.png)", + "main": "app.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "express": "^4.19.2", + "hbs": "^4.2.0" + } +} diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css new file mode 100644 index 000000000..e69de29bb diff --git a/views/home-page.html b/views/home-page.html new file mode 100644 index 000000000..e69de29bb