Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .vs/Guardian/v17/.wsuo
Binary file not shown.
12 changes: 12 additions & 0 deletions .vs/Guardian/v17/DocumentLayout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\HP\\OneDrive\\Pictures\\Documents\\GitHub\\Guardian\\",
"Documents": [],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": []
}
]
}
Binary file added .vs/Guardian/v17/workspaceFileList.bin
Binary file not shown.
6 changes: 6 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
1 change: 1 addition & 0 deletions Guardian
Submodule Guardian added at 8cbcd8
18 changes: 18 additions & 0 deletions OneDrive/Desktop/SIT323/sit323-2025-prac5d/DockerFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Use Node.js LTS image
FROM node:18

# Set working directory
WORKDIR /usr/src/app

# Copy package.json and install dependencies
COPY package*.json ./
RUN npm install

# Copy source code
COPY . .

# Expose port 3000
EXPOSE 3000

# Start the app
CMD [ "npm", "start" ]
12 changes: 12 additions & 0 deletions OneDrive/Desktop/SIT323/sit323-2025-prac5d/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// index.js
const express = require('express');
const app = express();
const port = process.env.PORT || 3000;

app.get('/', (req, res) => {
res.send('SIT323 Task 5.2D is running!');
});

app.listen(port, () => {
console.log(`App listening on port ${port}`);
});
16 changes: 16 additions & 0 deletions OneDrive/Desktop/SIT323/sit323-2025-prac5d/node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading