const express = require('express');
const app = express();

const path = require('path');
const routes = require('./myRoutes.js');

app.get('/', function(req, res) {
  res.send('something');
});

app.get(routes.login, function(req, res) {
  res.send('Login page');
});

app.get(routes.register, function(req, res) {
  res.send('Register Page');
});

app.get(routes.dashboard, function(req, res) {
  res.send('DashBoard/Home Page');
});

app.get(routes.tasks, function(req, res) {
  res.send('All Tasks Page');
});

app.get(routes.task, function(req, res) {
  res.send('Ind Task Page'+ req.params.id);
});

app.get(routes.socketenter, function(req, res) {
  res.send('Socket Send Test Page');
});

app.get(routes.socketreceive, function(req, res) {
  res.send('Socket Receive Test Page');
});


app.listen(8000, function() {
  console.log('app running on 8000');
});

@@ -542,32 +542,34 @@
 ion(req, res) %7B%0A
+//
   res.send('Ind 
@@ -562,16 +562,20 @@
 res.send
+File
 ('Ind Ta
@@ -600,16 +600,81 @@
 ms.id);%0A
+  %0A  res.sendFile('static/html/task.html', %7Broot: __dirname%7D )%0A%0A%0A
 %7D);%0A%0Aapp

Add feature to send task.html on get to \task\