From eb29921db54dd3b34cb71a7dd27875ade2f96b05 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 6 Jun 2024 22:15:53 -0700 Subject: [PATCH 1/2] Make work --- packages/express-backend/backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/express-backend/backend.js b/packages/express-backend/backend.js index 2734a9e..8557077 100644 --- a/packages/express-backend/backend.js +++ b/packages/express-backend/backend.js @@ -378,6 +378,6 @@ app.delete("/order-units/:id", userService.authenticateUser, (req, res) => { }); }); -app.listen(port, () => { +app.listen(process.env.PORT || port, () => { console.log(`Example app listening at safehaven307.azurewebsites.net:${port}`); }); From 4d125ab2cf7f0b2e5f070e60a00ca66fb0bdb5a5 Mon Sep 17 00:00:00 2001 From: Cameron Maloney Date: Fri, 7 Jun 2024 05:09:41 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f33f19d..498a4ae 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,6 @@ and Project Description: SafeHaven is a company dedicated to optimizing storage management solutions for businesses. Our product scales easily, displays critical order insights, and is affordably priced. We offer a seamless inventory and order tracking system, suiting the needs of businesses in many industries. + +CSC307 Safe Haven Demo Video: +https://youtu.be/EfknrWC4x_U