issue-tracker/routes/api.js

28 lines
453 B
JavaScript
Raw Normal View History

2017-02-18 20:21:34 +01:00
'use strict';
module.exports = function (app) {
app.route('/api/issues/:project')
.get(function (req, res){
let project = req.params.project;
2017-02-18 20:21:34 +01:00
})
.post(function (req, res){
let project = req.params.project;
2017-02-18 20:21:34 +01:00
})
.put(function (req, res){
let project = req.params.project;
2017-02-18 20:21:34 +01:00
})
.delete(function (req, res){
let project = req.params.project;
2017-02-18 20:21:34 +01:00
});
};