Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
d6cceb5
feat: initial files for collab backend
jiahui0309 Sep 20, 2025
c525f4a
feat: configured database models for sessions, together with websocket
jiahui0309 Sep 20, 2025
c962fa4
Merge branch 'CS3219-AY2526Sem1:master' into collab-service
jiahui0309 Sep 20, 2025
8a45d1a
Merge branch 'CS3219-AY2526Sem1:master' into collab-service
jiahui0309 Sep 22, 2025
73a9c90
fix: prettier changes
jiahui0309 Sep 22, 2025
44b4d4a
create dockerfile for containerisation
jiahui0309 Sep 22, 2025
7f1009b
minimal integration with frontend
jiahui0309 Sep 22, 2025
1e89c5e
fix code for workflow checks
jiahui0309 Sep 22, 2025
f2190cb
created 2 more api endpoints
jiahui0309 Sep 22, 2025
750e2a9
fix static security checks
jiahui0309 Sep 24, 2025
64fe18c
retrieve data from matching and start a session
jiahui0309 Sep 30, 2025
52d16b9
created an endpoint to check for users active session
jiahui0309 Sep 30, 2025
0531a23
functionality for users to leave the session
jiahui0309 Sep 30, 2025
d3dfa8a
user should receive notif if the other user leaves the session
jiahui0309 Sep 30, 2025
b40c10b
Merge branch 'CS3219-AY2526Sem1:master' into collab-service
jiahui0309 Sep 30, 2025
a6ad14c
installed packages for other services
jiahui0309 Sep 30, 2025
30b4af6
Merge remote-tracking branch 'origin/master' into collab-service
jiahui0309 Oct 2, 2025
9fa5aa4
passing user info into working window component
jiahui0309 Oct 3, 2025
47f9b95
refactor backend folders + modified docker compose
jiahui0309 Oct 3, 2025
93e1049
matching service handle session start request
jiahui0309 Oct 3, 2025
9b7118d
linting fix
jiahui0309 Oct 3, 2025
468e942
standardised timer across 2 users in the same session
jiahui0309 Oct 3, 2025
9404626
added active users array to session schema
jiahui0309 Oct 12, 2025
171a630
modified frontend to check if the remaining user wants to continue th…
jiahui0309 Oct 12, 2025
60af8d6
Merge branch 'master' of https://github.com/jiahui0309/cs3219-ay2526s…
jiahui0309 Oct 12, 2025
54b8932
fix useAuth usage
jiahui0309 Oct 12, 2025
2de06b3
Merge branch 'master' of https://github.com/jiahui0309/cs3219-ay2526s…
jiahui0309 Oct 12, 2025
b9776e3
changed activeUsers and users array into participants array
jiahui0309 Oct 12, 2025
d2aafc0
added logic to check for existing session before creating one
jiahui0309 Oct 12, 2025
d292072
integrated session creation with the new matching logic
jiahui0309 Oct 12, 2025
b0873c0
inactivity check by socket activity timestamp
jiahui0309 Oct 12, 2025
1125c52
end session upon times up
jiahui0309 Oct 13, 2025
b476544
confirmation of user's manual termination
jiahui0309 Oct 13, 2025
15f4b2c
Merge branch 'master' of https://github.com/jiahui0309/cs3219-ay2526s…
jiahui0309 Oct 15, 2025
17ce12b
bug fixes
jiahui0309 Oct 15, 2025
d178380
changed api route naming to standardised version
jiahui0309 Oct 15, 2025
79a0abc
configure get active session api
jiahui0309 Oct 15, 2025
d1a9c2a
changed backend collab controllers for connect session
jiahui0309 Oct 15, 2025
0909aa9
connect components to new routes
jiahui0309 Oct 15, 2025
5bb5b30
change frontend navigation url
jiahui0309 Oct 15, 2025
81f2566
created new session context to retrieve active session
jiahui0309 Oct 15, 2025
037b18d
used session context for collab pages
jiahui0309 Oct 15, 2025
fff3890
fix eslint error
jiahui0309 Oct 15, 2025
66a35b4
add partial multikey index for accelerated lookups
jiahui0309 Oct 18, 2025
74d4d17
Merge branch 'master' of https://github.com/jiahui0309/cs3219-ay2526s…
jiahui0309 Oct 18, 2025
2a9b515
passing props into remote wrapper
jiahui0309 Oct 18, 2025
d237e9b
adding question field into session object structure
jiahui0309 Oct 18, 2025
d284eb5
create new data records for collab questions, sessions, start req, st…
jiahui0309 Oct 18, 2025
8c6692a
add CollabServiceClient with rest calls, with base url and RestTempla…
jiahui0309 Oct 18, 2025
469b79f
building the MatchAcceptanceOutcome
jiahui0309 Oct 18, 2025
016325a
changing ts files to match data structure
jiahui0309 Oct 18, 2025
7260ec0
refactoring pages that links with collab service
jiahui0309 Oct 18, 2025
5fb316b
removed default class types for deserialisation
jiahui0309 Oct 18, 2025
82e0d8f
Merge branch 'master' into collab-service
jiahui0309 Oct 18, 2025
2a486aa
Merge branch 'master' of https://github.com/jiahui0309/cs3219-ay2526s…
jiahui0309 Oct 18, 2025
3e3a88c
ensure session persists across refreshes (waits 10s before disconnect)
jiahui0309 Oct 18, 2025
cd6c4d9
persisting local code editor state across various interactions
jiahui0309 Oct 18, 2025
629b8f4
remove uneccessary snapshot code
jiahui0309 Oct 18, 2025
d908ee2
Merge branch 'collab-service' of https://github.com/jiahui0309/cs3219…
jiahui0309 Oct 18, 2025
2a956f2
Merge branch 'master' of https://github.com/jiahui0309/cs3219-ay2526s…
jiahui0309 Oct 19, 2025
f86c2cc
Merge branch 'master' of https://github.com/jiahui0309/cs3219-ay2526s…
jiahui0309 Oct 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions backend-services/collab-backend-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Use Node for build & serve
FROM node:22-alpine
WORKDIR /app

# Install deps
COPY package*.json .
RUN npm install --frozen-lockfile

# Copy source
COPY . .

# Expose port
EXPOSE 5276

CMD ["node", "src/server.js"]
Loading