issue-tracker/routes/api.js
Nicholas Carrigan (he/him) dfc0cdba8c
Move tests to /learn (#16)
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2020-11-27 11:53:47 -06:00

28 lines
453 B
JavaScript

'use strict';
module.exports = function (app) {
app.route('/api/issues/:project')
.get(function (req, res){
let project = req.params.project;
})
.post(function (req, res){
let project = req.params.project;
})
.put(function (req, res){
let project = req.params.project;
})
.delete(function (req, res){
let project = req.params.project;
});
};