todoListRoutes updated.
This commit is contained in:
parent
c0ee6476a0
commit
b25b42c13d
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
module.exports = function(app) {
|
module.exports = function(app) {
|
||||||
//var todoList = require('../controllers/todoListController');
|
//var todoList = require('../controllers/todoListController');
|
||||||
|
|
||||||
|
app.route('/api/test')
|
||||||
|
.get((req,res)=>{ res.send('testing here'); });
|
||||||
|
|
||||||
app.get('/tasks',(req, res) => {
|
app.get('/tasks',(req, res) => {
|
||||||
res.send('Tasks is here')
|
res.send('Tasks is here')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue