Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milestone 4: Setup Matching Service #8

Open
qinxutan opened this issue Sep 10, 2024 · 0 comments
Open

Milestone 4: Setup Matching Service #8

qinxutan opened this issue Sep 10, 2024 · 0 comments
Labels
priority (high) Very important
Milestone

Comments

@qinxutan
Copy link

No description provided.

@qinxutan qinxutan added the priority (high) Very important label Sep 10, 2024
@Tan-Jia-Rong Tan-Jia-Rong added this to the Milestone 4 milestone Sep 10, 2024
qinxutan added a commit that referenced this issue Oct 23, 2024
* Update (#4)

* Fix bug: wrong import

* Remove redundancy

* Update README.md

* Change port number to be different from user service

* Update README.md with the new port numbers

* Implement authentication for all question services

* Update package*.json files

* Add user service and update all the port numbers

* Remove unnecessary import

* Fix bug: wrong url

* Remove token upon logging out or deletion of account

* Route all unauthenticated requests to /login page

* Include token in request header to question service

* Modify authenticate token URL to be production-based

* Add comments to clarify URL choice

* add Adding Question Components

* update QuestionDialog to take up whole container

* add delete question functionalities

---------

Co-authored-by: Eugene <ekweirui@gmail.com>
Co-authored-by: Tan-Jia-Rong <tanjiarongtjr@gmail.com>
Co-authored-by: Wei Rui <95850532+ekweirui@users.noreply.github.com>
Co-authored-by: Jia Rong <71122323+Tan-Jia-Rong@users.noreply.github.com>

* Update collab service terminate session logic

* Implement chatbox

* Update (#5)

* Fix bug: wrong import

* Remove redundancy

* Update README.md

* Change port number to be different from user service

* Update README.md with the new port numbers

* Implement authentication for all question services

* Update package*.json files

* Add user service and update all the port numbers

* Remove unnecessary import

* Fix bug: wrong url

* Remove token upon logging out or deletion of account

* Route all unauthenticated requests to /login page

* Include token in request header to question service

* Modify authenticate token URL to be production-based

* Add comments to clarify URL choice

* add Adding Question Components

* update QuestionDialog to take up whole container

* add delete question functionalities

* update Question Page View

* remove irrelevant files

* update package-lock.json name

* Deploy website publicly

---------

Co-authored-by: Eugene <ekweirui@gmail.com>
Co-authored-by: Tan-Jia-Rong <tanjiarongtjr@gmail.com>
Co-authored-by: Wei Rui <95850532+ekweirui@users.noreply.github.com>
Co-authored-by: Jia Rong <71122323+Tan-Jia-Rong@users.noreply.github.com>
Co-authored-by: Kenvyn Kwek <kenvynkwek@gmail.com>

* Update (#6)

* Fix bug: wrong import

* Remove redundancy

* Update README.md

* Change port number to be different from user service

* Update README.md with the new port numbers

* Implement authentication for all question services

* Update package*.json files

* Add user service and update all the port numbers

* Remove unnecessary import

* Fix bug: wrong url

* Remove token upon logging out or deletion of account

* Route all unauthenticated requests to /login page

* Include token in request header to question service

* Modify authenticate token URL to be production-based

* Add comments to clarify URL choice

* add Adding Question Components

* update QuestionDialog to take up whole container

* add delete question functionalities

* update Question Page View

* remove irrelevant files

* update package-lock.json name

* Deploy website publicly

---------

Co-authored-by: Eugene <ekweirui@gmail.com>
Co-authored-by: Tan-Jia-Rong <tanjiarongtjr@gmail.com>
Co-authored-by: Wei Rui <95850532+ekweirui@users.noreply.github.com>
Co-authored-by: Jia Rong <71122323+Tan-Jia-Rong@users.noreply.github.com>
Co-authored-by: Kenvyn Kwek <kenvynkwek@gmail.com>

* Update to use userid

* Update

* Backend for collab service

* Update accordingly to pr comments

* Setup frontend for testing of collab service

* Set up Collab Service Backend (#37)

* Update Group

* Add account service and account login api

* no message

* Update according to PR comments + UI changes

* Convert flask and python to node.js and express

* Update to use demo app and demo service

* Revert "Update according to merge conflicts"

This reverts commit 363778f, reversing
changes made to 0e44887.
undo commit

* Resolve merge conflict

* Update delete api

* Shift Login and Delete auth to frontend

* Delete env

* Added profile icon to question page

* no message

* Decoupled questioncontroller based on pr review

* Backend for collab service

* Update accordingly to pr comments

* Update some cmts

* Update dual column view

Question and question details on the left, textarea on the right (temporary black/pink border for development ease/visuals).

* Update left side question frontend

Added title, difficulty, topics and description.

* Update leftside question view

Added question id and examples.

* Update leftside question view

Added question constraints.

* Add border

* Install shadcn menubar

* Revert "Install shadcn menubar"

This reverts commit 8452ba1.

* Add navigation bar

* Update collab service terminate session logic

* Implement chatbox

* Update (#5)

* Fix bug: wrong import

* Remove redundancy

* Update README.md

* Change port number to be different from user service

* Update README.md with the new port numbers

* Implement authentication for all question services

* Update package*.json files

* Add user service and update all the port numbers

* Remove unnecessary import

* Fix bug: wrong url

* Remove token upon logging out or deletion of account

* Route all unauthenticated requests to /login page

* Include token in request header to question service

* Modify authenticate token URL to be production-based

* Add comments to clarify URL choice

* add Adding Question Components

* update QuestionDialog to take up whole container

* add delete question functionalities

* update Question Page View

* remove irrelevant files

* update package-lock.json name

* Deploy website publicly

---------

Co-authored-by: Eugene <ekweirui@gmail.com>
Co-authored-by: Tan-Jia-Rong <tanjiarongtjr@gmail.com>
Co-authored-by: Wei Rui <95850532+ekweirui@users.noreply.github.com>
Co-authored-by: Jia Rong <71122323+Tan-Jia-Rong@users.noreply.github.com>
Co-authored-by: Kenvyn Kwek <kenvynkwek@gmail.com>

* Update (#6)

* Fix bug: wrong import

* Remove redundancy

* Update README.md

* Change port number to be different from user service

* Update README.md with the new port numbers

* Implement authentication for all question services

* Update package*.json files

* Add user service and update all the port numbers

* Remove unnecessary import

* Fix bug: wrong url

* Remove token upon logging out or deletion of account

* Route all unauthenticated requests to /login page

* Include token in request header to question service

* Modify authenticate token URL to be production-based

* Add comments to clarify URL choice

* add Adding Question Components

* update QuestionDialog to take up whole container

* add delete question functionalities

* update Question Page View

* remove irrelevant files

* update package-lock.json name

* Deploy website publicly

---------

Co-authored-by: Eugene <ekweirui@gmail.com>
Co-authored-by: Tan-Jia-Rong <tanjiarongtjr@gmail.com>
Co-authored-by: Wei Rui <95850532+ekweirui@users.noreply.github.com>
Co-authored-by: Jia Rong <71122323+Tan-Jia-Rong@users.noreply.github.com>
Co-authored-by: Kenvyn Kwek <kenvynkwek@gmail.com>

* Update to use userid

* Update to include collab svc in docker compose + if one user terminates session, session ends for both users

* Remove merge conflict

* Update (#8)

* Fix bug: wrong import

* Remove redundancy

* Update README.md

* Change port number to be different from user service

* Update README.md with the new port numbers

* Implement authentication for all question services

* Update package*.json files

* Add user service and update all the port numbers

* Remove unnecessary import

* Fix bug: wrong url

* Remove token upon logging out or deletion of account

* Route all unauthenticated requests to /login page

* Include token in request header to question service

* Modify authenticate token URL to be production-based

* Add comments to clarify URL choice

* add Adding Question Components

* update QuestionDialog to take up whole container

* add delete question functionalities

* update Question Page View

* remove irrelevant files

* update package-lock.json name

* Deploy website publicly

* add some functions for matching service

* add matchingService

* update docker-compose

* add user authentication

* Implement MatchingButton with Timer

* Integrate matching service's frontend and backend to work together

* Remove console logging lines

* Fix bug where queue names were wrongly constructed

* Add matching service backend url

* Change localStorage to sessionStorage to isolate storage to within sessions/tabs instead of browser

* Remove test routes

* Allow CORS for public frontend website

* Update README with deploying instructions for matching service

* Remove test controller

* Update to follow PR comments: Remove users from socket map after a match

* Implement question matching service

* Implement question matching service

* Add logging statements for token authentication and verification

* Remove redundant CORS mapping

* Update README to include new build arguments for question matching functionality

* add try-catch-finally blocks

* Remove redundant files

---------

Co-authored-by: Eugene <ekweirui@gmail.com>
Co-authored-by: Tan-Jia-Rong <tanjiarongtjr@gmail.com>
Co-authored-by: Wei Rui <95850532+ekweirui@users.noreply.github.com>
Co-authored-by: Jia Rong <71122323+Tan-Jia-Rong@users.noreply.github.com>
Co-authored-by: Kenvyn Kwek <kenvynkwek@gmail.com>

* doesnt work yet

* Connect matching svc to collab svc

---------

Co-authored-by: Eugene <ekweirui@gmail.com>
Co-authored-by: Tan-Jia-Rong <tanjiarongtjr@gmail.com>
Co-authored-by: Wei Rui <95850532+ekweirui@users.noreply.github.com>
Co-authored-by: Jia Rong <71122323+Tan-Jia-Rong@users.noreply.github.com>
Co-authored-by: Kenvyn Kwek <kenvynkwek@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority (high) Very important
Projects
None yet
Development

No branches or pull requests

2 participants