From e6b8297e3cb99dfc753015699c766612fc89655a Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Thu, 15 Apr 2021 13:03:15 -0500 Subject: I don't get Express routers --- csci4131/hw6/strap012_hw6/api/utilities.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'csci4131/hw6/strap012_hw6/api') diff --git a/csci4131/hw6/strap012_hw6/api/utilities.js b/csci4131/hw6/strap012_hw6/api/utilities.js index 6b6cec6..eda6e72 100644 --- a/csci4131/hw6/strap012_hw6/api/utilities.js +++ b/csci4131/hw6/strap012_hw6/api/utilities.js @@ -3,8 +3,9 @@ const router = express.Router() router.get('/contacts', function (req, res) { // TODO: Implement code to fetch contacts from the database + res.send("AAAAAAAAAAAA") }); // TODO: Add implementation for other necessary end-points -module.exports = router; \ No newline at end of file +module.exports = router; -- cgit v1.2.3