diff --git a/index.js b/index.js index dfa05a0..f634d19 100644 --- a/index.js +++ b/index.js @@ -2,6 +2,13 @@ const express = require('express'); const app = express(); +app.get('/', function(req,res){ + res.send('hello world') +}) + +app.get('/about', function(req,res){ + res.send('About Us') +}) app.listen(8080, ()=>{ console.log('Listening at port 8080.') }) \ No newline at end of file