aboutsummaryrefslogtreecommitdiffstats
path: root/csci4131/hw6/strap012_hw6/api
diff options
context:
space:
mode:
authorMatthew Strapp <msattr@gmail.com>2021-04-15 13:03:15 -0500
committerMatthew Strapp <msattr@gmail.com>2021-04-15 13:03:15 -0500
commite6b8297e3cb99dfc753015699c766612fc89655a (patch)
treec6383723090aafba488dd452a76ec35ca38e1597 /csci4131/hw6/strap012_hw6/api
parenthw6 (diff)
downloadhomework-e6b8297e3cb99dfc753015699c766612fc89655a.tar
homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.gz
homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.bz2
homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.lz
homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.xz
homework-e6b8297e3cb99dfc753015699c766612fc89655a.tar.zst
homework-e6b8297e3cb99dfc753015699c766612fc89655a.zip
I don't get Express routers
Diffstat (limited to '')
-rw-r--r--csci4131/hw6/strap012_hw6/api/utilities.js3
1 files changed, 2 insertions, 1 deletions
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;