aboutsummaryrefslogtreecommitdiffstats
path: root/csci4131/hw6/strap012_hw6/api
diff options
context:
space:
mode:
authorRossTheRoss <mstrapp@protonmail.com>2021-04-13 14:22:16 -0500
committerRossTheRoss <mstrapp@protonmail.com>2021-04-13 14:22:16 -0500
commit20dba29f9c01e6ff4142fc8dd73d7e7c33a42034 (patch)
tree2081f57a595a438a40904210139c495defd994ff /csci4131/hw6/strap012_hw6/api
parentoops (diff)
downloadhomework-20dba29f9c01e6ff4142fc8dd73d7e7c33a42034.tar
homework-20dba29f9c01e6ff4142fc8dd73d7e7c33a42034.tar.gz
homework-20dba29f9c01e6ff4142fc8dd73d7e7c33a42034.tar.bz2
homework-20dba29f9c01e6ff4142fc8dd73d7e7c33a42034.tar.lz
homework-20dba29f9c01e6ff4142fc8dd73d7e7c33a42034.tar.xz
homework-20dba29f9c01e6ff4142fc8dd73d7e7c33a42034.tar.zst
homework-20dba29f9c01e6ff4142fc8dd73d7e7c33a42034.zip
start hw6
Diffstat (limited to 'csci4131/hw6/strap012_hw6/api')
-rw-r--r--csci4131/hw6/strap012_hw6/api/utilities.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/csci4131/hw6/strap012_hw6/api/utilities.js b/csci4131/hw6/strap012_hw6/api/utilities.js
new file mode 100644
index 0000000..6b6cec6
--- /dev/null
+++ b/csci4131/hw6/strap012_hw6/api/utilities.js
@@ -0,0 +1,10 @@
+const express = require('express')
+const router = express.Router()
+
+router.get('/contacts', function (req, res) {
+ // TODO: Implement code to fetch contacts from the database
+});
+
+// TODO: Add implementation for other necessary end-points
+
+module.exports = router; \ No newline at end of file