diff --git a/public/css/style.css b/public/css/style.css new file mode 100644 index 0000000..a38a8cb --- /dev/null +++ b/public/css/style.css @@ -0,0 +1,4 @@ +body { + background-color: #444444; + color: #f70b0b; +} diff --git a/server.js b/server.js index 0e1f197..d16282c 100644 --- a/server.js +++ b/server.js @@ -3,11 +3,14 @@ const app = express(); const bodyParser = require('body-parser'); const res = require('express/lib/response'); const MongoClient = require('mongodb').MongoClient -const mongoDb = 'mongodb://mymongodb' +const mongoDb = 'mongodb://192.168.0.252:27017' /* View Engine */ app.set('view engine', 'ejs'); +/* Style */ +app.use(express.static(__dirname + '/public')); + /*Mongo Connection*/ MongoClient.connect(mongoDb, (err, client) => { diff --git a/views/index.ejs b/views/index.ejs index 108a579..b4d8684 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -2,6 +2,7 @@
+