From b25b42c13df3cbc9c5b75c6d70c2e22a98eb28d8 Mon Sep 17 00:00:00 2001 From: joewaa Date: Sun, 11 Jun 2017 07:25:01 +0800 Subject: [PATCH] todoListRoutes updated. --- api/routes/todoListRoutes.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/routes/todoListRoutes.js b/api/routes/todoListRoutes.js index 7df7930..35ab3d1 100644 --- a/api/routes/todoListRoutes.js +++ b/api/routes/todoListRoutes.js @@ -1,6 +1,9 @@ 'use strict'; module.exports = function(app) { //var todoList = require('../controllers/todoListController'); + + app.route('/api/test') + .get((req,res)=>{ res.send('testing here'); }); app.get('/tasks',(req, res) => { res.send('Tasks is here')