Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
578 commits
Select commit Hold shift + click to select a range
3bd25ec
matching service notification
sembcorpp Oct 17, 2024
1935815
PEER-232: UI bug
cyiting Oct 17, 2024
413179f
Add CI for docker image build and push to dockerhub (#46)
SeeuSim Oct 17, 2024
0bcb051
PEER-232: Remove waiting room route
cyiting Oct 17, 2024
5ad131a
feat/ci: Add FE dockerfile config
SeeuSim Oct 17, 2024
f6fcbac
matching service unique room for each request
sembcorpp Oct 17, 2024
cb52662
add changes from main
sembcorpp Oct 17, 2024
25393c2
PEER-323: UI bugs
cyiting Oct 17, 2024
7d40cec
PEER-232: More UI bug
cyiting Oct 17, 2024
daa788b
PEER-232: UI fix
cyiting Oct 17, 2024
fcbf652
remove redis ACL user
TabrizPlv Oct 17, 2024
1747c76
PEER-232: Reduce timer delay for backend
SeeuSim Oct 17, 2024
d6c5e92
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Oct 17, 2024
651d07b
chore: add import sorting for auto-linting
SeeuSim Oct 18, 2024
1ab506c
chore: add index imports for autolinting
SeeuSim Oct 18, 2024
aa3f752
chore: Add second user for milestone D4
SeeuSim Oct 18, 2024
dbc7ec4
Merge pull request #50 from CS3219-AY2425S1/chore/import-sort
SeeuSim Oct 18, 2024
1efbc17
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Oct 18, 2024
734a0f4
Merge pull request #49 from CS3219-AY2425S1/PEER-221-Matching-WS-Noti…
SeeuSim Oct 18, 2024
150b5b4
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Oct 18, 2024
23031a9
PEER-214: Run builds
SeeuSim Oct 18, 2024
43b5f2a
Merge pull request #39 from CS3219-AY2425S1/PEER-214
SeeuSim Oct 18, 2024
397de48
fix/skip build on feedback PR
SeeuSim Oct 18, 2024
d8a0379
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Oct 18, 2024
4c8a20b
get match items draft
anunayajoshi Oct 18, 2024
87bc94f
add pr build status check
SeeuSim Oct 18, 2024
ff106b8
add pr build status check
SeeuSim Oct 18, 2024
b07a925
Merge pull request #52 from CS3219-AY2425S1/fix/pr-build-status
SeeuSim Oct 18, 2024
5630482
Merge branch 'main' into anun/get-match-items
SeeuSim Oct 18, 2024
a6ef1ff
Merge branch 'main' into PEER-232-Match-Initiation-UI
SeeuSim Oct 18, 2024
3e7996a
working
anunayajoshi Oct 19, 2024
0d1fe23
update endpoint
anunayajoshi Oct 19, 2024
be927c4
update endpoint for combined
anunayajoshi Oct 19, 2024
7f204bc
fixes
anunayajoshi Oct 19, 2024
4352b5a
rename everywhere
anunayajoshi Oct 19, 2024
020d6cd
formatted
anunayajoshi Oct 19, 2024
16703c4
PEER-232: Add updated BE logic
SeeuSim Oct 19, 2024
7377db7
PEER-232: Add queuing event schema
SeeuSim Oct 19, 2024
97d221a
PEER-232: Add working WS impl
SeeuSim Oct 19, 2024
1855061
PEER-232: Add styles for match form
SeeuSim Oct 19, 2024
b6e8d5b
Merge pull request #51 from CS3219-AY2425S1/anun/get-match-items
anunayajoshi Oct 20, 2024
3b32837
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Oct 20, 2024
b3019c7
Merge pull request #44 from CS3219-AY2425S1/PEER-232-Match-Initiation-UI
SeeuSim Oct 20, 2024
66d756a
Fix bug in get attempted qns EP
SeeuSim Oct 20, 2024
97f8c31
Merge pull request #54 from CS3219-AY2425S1/bug/user-service-attempte…
SeeuSim Oct 20, 2024
adf2977
Add bug fixes
SeeuSim Oct 20, 2024
80b745b
Add styles and fix buggy WS behavior
SeeuSim Oct 20, 2024
27ce543
Merge pull request #55 from CS3219-AY2425S1/bug/match-service-integra…
SeeuSim Oct 20, 2024
18aa6aa
Add networking for compose
SeeuSim Oct 20, 2024
8b0245a
Merge branch 'main' into bug/match-service-integration
SeeuSim Oct 20, 2024
16cb511
Merge pull request #56 from CS3219-AY2425S1/bug/match-service-integra…
SeeuSim Oct 20, 2024
9a98c9e
fix logging and try catch if attemptedquestions fetch fails
anunayajoshi Oct 20, 2024
0d537eb
fix questions
anunayajoshi Oct 20, 2024
074c3dc
Fix form errors
cyiting Oct 20, 2024
7225ddb
Merge pull request #58 from CS3219-AY2425S1/anun/fix-questions
anunayajoshi Oct 20, 2024
1f1bb99
Merge branch 'main' into anun/fix1
anunayajoshi Oct 20, 2024
5bb9fcf
Merge pull request #57 from CS3219-AY2425S1/anun/fix1
anunayajoshi Oct 20, 2024
8049a15
UI Bug
cyiting Oct 20, 2024
b3f9813
Remove console.log
cyiting Oct 20, 2024
8854d6c
Merge branch 'main' into D4-ui-fixes
cyiting Oct 20, 2024
b3c2ee8
Merge pull request #59 from CS3219-AY2425S1/D4-ui-fixes
cyiting Oct 20, 2024
f3799bc
Remove dependency on collab service
cyiting Oct 20, 2024
6fccffc
adding cancel endpoint for matching
sembcorpp Oct 20, 2024
02e3fbd
change
sembcorpp Oct 20, 2024
e433641
Merge remote-tracking branch 'origin/main' into PEER-223-Matching-Can…
sembcorpp Oct 20, 2024
2bea740
Merge pull request #61 from CS3219-AY2425S1/release/milestone-4
SeeuSim Oct 20, 2024
e86d7f2
Adding a pending flag and cancellation endpoint
sembcorpp Oct 20, 2024
c65d111
Removing unecessary console.log statements
sembcorpp Oct 20, 2024
7cab281
Merge branch 'main' into PEER-223-Matching-Cancellation-Endpoint
SeeuSim Oct 21, 2024
e7c229e
PEER-223: Add proper pending flag logic for matcher
SeeuSim Oct 21, 2024
f167cb4
PEER-223: Add integration with other services
SeeuSim Oct 21, 2024
cc2abb9
fix redis auth issues. Revert to previous config
TabrizPlv Oct 21, 2024
45a7bc2
Merge pull request #63 from CS3219-AY2425S1/redis-auth-fix
TabrizPlv Oct 21, 2024
501cd71
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Oct 21, 2024
80e97c4
PEER-223: Update seed key
SeeuSim Oct 21, 2024
3fcfda8
Merge pull request #62 from CS3219-AY2425S1/PEER-223-Matching-Cancell…
SeeuSim Oct 21, 2024
b775ab2
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Oct 21, 2024
38801e5
PEER-234: Remove draft PR CI runs
SeeuSim Oct 21, 2024
6cd0dae
PEER-234: Add workspace scripts
SeeuSim Oct 21, 2024
c1e18da
PEER-234: Add concurrent script for better loggin
SeeuSim Oct 21, 2024
957b009
PEER-234: Resolve build issues and add build script
SeeuSim Oct 21, 2024
3d1aaec
PEER-234: Add userId
SeeuSim Oct 22, 2024
e09b9e4
PEER-234: Persist language to state and other editor
SeeuSim Oct 22, 2024
90205e8
PEER-234: Block editor editing while rendering
SeeuSim Oct 23, 2024
9a07b50
PEER-234: Add nav blocking for editor
SeeuSim Oct 23, 2024
2646a02
PEER-234: Simplify request logging
SeeuSim Oct 23, 2024
069e3cb
PEER-234: Add better logging for integrated dev cfg
SeeuSim Oct 23, 2024
8ec9976
PEER-234: Add line num extension
SeeuSim Oct 23, 2024
29159f0
Merge pull request #43 from CS3219-AY2425S1/PEER-234-Editor-UI
SeeuSim Oct 23, 2024
1f95c75
bug/fe-nginx-conf
SeeuSim Oct 24, 2024
6a9340f
PEER-244,245: Add manifests for namespace, networks and pvcs
SeeuSim Oct 24, 2024
20fc2f5
feat: Add ChatSidebar component
anunayajoshi Oct 25, 2024
08f2322
add floating button
anunayajoshi Oct 25, 2024
38c0141
bug/match-logic: Fix matching clause bug
SeeuSim Oct 25, 2024
9f848f8
Merge pull request #66 from CS3219-AY2425S1/bug/match-logic
SeeuSim Oct 25, 2024
a2d70c2
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Oct 25, 2024
43c54c9
PEER-236: Set up chat service
cyiting Oct 25, 2024
aa34aaf
Add pruning for docker volumes
SeeuSim Oct 25, 2024
fb34dda
PEER-236: Set up database
cyiting Oct 25, 2024
37bca25
PEER-236: Backend websocket code
cyiting Oct 25, 2024
33c4deb
PEER-236: Graceful termination
cyiting Oct 25, 2024
bf9154a
env stuff
anunayajoshi Oct 25, 2024
b507a3a
PEER-236: Add use-chat hook, vite config, nginx config
cyiting Oct 25, 2024
0d2f2c0
PEER-244,245: Add working StatefulSet for DB deployments
SeeuSim Oct 26, 2024
e3c2814
PEER-244,245: Add kubectl start scripts
SeeuSim Oct 26, 2024
5a79152
PEER-244,245: Add DB ClusterIP Services
SeeuSim Oct 26, 2024
1673e9a
PEER-244,245: Add Dockerhub Semver tagging for k8s pull
SeeuSim Oct 26, 2024
091b9a0
PEER-244,245: Add Dockerhub Semver tagging for k8s pull
SeeuSim Oct 26, 2024
a529d20
PEER-244,245: Add Dockerhub Semver tagging for k8s pull
SeeuSim Oct 26, 2024
9a1d75d
PEER-244,245: Add Dockerhub Semver tagging for k8s pull
SeeuSim Oct 26, 2024
03fb4fd
PEER-244,245: Add Dockerhub latest tagging for k8s pull
SeeuSim Oct 26, 2024
09b3771
PEER-244,245: Add user service deployment
SeeuSim Oct 26, 2024
3689c63
PEER-244,245: Add working HPA conf, CORS for load testing
SeeuSim Oct 27, 2024
17176d8
PEER-244,245: Add Metric Server documentation, HPA config
SeeuSim Oct 27, 2024
99d9103
PEER-244,245: Update base image for user svc local
SeeuSim Oct 27, 2024
acedb1a
PEER-244,245: Add Question Service Deployment
SeeuSim Oct 27, 2024
54e10c6
PEER-244,245: Add Matching Service
SeeuSim Oct 28, 2024
1bad40d
PEER-244,245: Add working matching service deployment
SeeuSim Oct 28, 2024
583e3e6
PEER-244,245: Add CORS for frontend pod
SeeuSim Oct 28, 2024
c2d8dbc
PEER-244,245: Add collab service and initContainer for matching service
SeeuSim Oct 28, 2024
e188b94
PEER-244,245: Add Frontend service and deployment
SeeuSim Oct 28, 2024
c087f59
PEER-244,245: Add ingress controller and instructions
SeeuSim Oct 28, 2024
d569407
PEER-244,245: Add README instructions and TOC
SeeuSim Oct 28, 2024
4010385
PEER-244,245: Add TODOs once merged
SeeuSim Oct 28, 2024
0fd6ce6
PEER-244,245: FInal update k8s readme instr
SeeuSim Oct 29, 2024
91dc36a
Merge pull request #64 from CS3219-AY2425S1/feat/k8s
SeeuSim Oct 29, 2024
18f5884
PEER-244,245: Switch Images to latest
SeeuSim Oct 29, 2024
b6bd162
Merge branch 'main' into feat/k8s
SeeuSim Oct 29, 2024
49987c6
Merge pull request #67 from CS3219-AY2425S1/feat/k8s
SeeuSim Oct 29, 2024
e04b58f
PEER-242: Add gcloud node affinity configs
SeeuSim Oct 31, 2024
3f61c24
PEER-242: Add gcloud configs
SeeuSim Oct 31, 2024
88f4cca
PEER-242: Update PVC mount point
SeeuSim Oct 31, 2024
5169428
PEER-242: Increase CPU thresholde
SeeuSim Oct 31, 2024
3164f22
update k8s script
TabrizPlv Oct 31, 2024
7872331
revert script changes
TabrizPlv Oct 31, 2024
2f0ae7f
PEER-242: Update load test script
SeeuSim Oct 31, 2024
8d9797c
Merge remote-tracking branch 'origin/anun/ass' into PEER-236-Messagin…
cyiting Nov 1, 2024
990af1d
PEER-242: Add working gcloud public internet deployment
SeeuSim Nov 1, 2024
dc2d4d7
PEER-242: Update gcloud script
SeeuSim Nov 1, 2024
9220e6c
PEER-236: Frontend chatting functionality
cyiting Nov 1, 2024
1c68d05
PEER-242: Update actions script
SeeuSim Nov 1, 2024
7c762b7
PEER-236: Navigate from match to interview
cyiting Nov 1, 2024
11b5db6
PEER-242: Update actions script
SeeuSim Nov 1, 2024
9ef94b2
PEER-242: Update actions script
SeeuSim Nov 1, 2024
7799bfb
Merge pull request #68 from CS3219-AY2425S1/PEER-242-Cloud-Deployment
SeeuSim Nov 1, 2024
1abcd02
PEER-236: Refactor partner and ai chat code
cyiting Nov 1, 2024
b309ab5
PEER-242: Add GHA GKE Deploy Script
SeeuSim Nov 1, 2024
a460759
PEER-236: UI Fixes
cyiting Nov 1, 2024
38ad86c
PEER-242: Add continue on failure for gha deploy
SeeuSim Nov 1, 2024
89a8a03
PEER-236: Docker compose, nginx configs
cyiting Nov 1, 2024
8f70509
Merge remote-tracking branch 'origin/main' into PEER-236-Messaging-UI
cyiting Nov 1, 2024
b992011
PEER-236: Update dockerfile
cyiting Nov 1, 2024
11e95c2
PEER-242: Add continue on failure for gha deploy
SeeuSim Nov 1, 2024
8504789
Merge branch 'main' into PEER-236-Messaging-UI
SeeuSim Nov 1, 2024
b9dff5d
PEER-236: Add chat dev server and graceful termination
SeeuSim Nov 1, 2024
c8de61f
fix
sembcorpp Nov 1, 2024
1860cda
add logic for check both users never attempted this question
sembcorpp Nov 1, 2024
5bf8b89
PEER-236: UI changes
cyiting Nov 1, 2024
80bd0f6
PEER-236: Update border
cyiting Nov 1, 2024
cfe5d33
Merge branch 'PEER-236-Messaging-UI' of https://github.com/CS3219-AY2…
cyiting Nov 1, 2024
16d1fa3
PEER-236: UI fixes
cyiting Nov 1, 2024
2f26bff
PEER-236: Add persistence for collab room updated at
SeeuSim Nov 1, 2024
5f1df58
PEER-236: Update deps
SeeuSim Nov 1, 2024
f010925
done
anunayajoshi Nov 1, 2024
4a50ebb
PEER-236: Fix chat component styles
SeeuSim Nov 2, 2024
0b5ff2e
PEER-236: Add K8s configs
SeeuSim Nov 2, 2024
1493798
PEER-236: Update CI file
SeeuSim Nov 2, 2024
02a5bdb
Merge pull request #69 from CS3219-AY2425S1/PEER-236-Messaging-UI
SeeuSim Nov 2, 2024
ae32084
PEER-236: Validate K8s configs
SeeuSim Nov 2, 2024
c530c8a
Merge branch 'main' into PEER-236-Messaging-UI
SeeuSim Nov 2, 2024
85c0e28
Merge pull request #73 from CS3219-AY2425S1/PEER-236-Messaging-UI
SeeuSim Nov 2, 2024
e46997d
PEER-226: Update deps
SeeuSim Nov 2, 2024
6f40cda
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Nov 2, 2024
6e99813
PEER-226: Fix bug
SeeuSim Nov 2, 2024
18457c7
PEER-226: Ban committing key
SeeuSim Nov 2, 2024
5e4777a
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Nov 2, 2024
a3aef71
PEER-219,228,229: Add termination prompt
SeeuSim Nov 2, 2024
e5df979
PEER-219: Update schema
SeeuSim Nov 2, 2024
b7be5d8
PEER-228,229: Add navigation
SeeuSim Nov 2, 2024
51756e2
support streaming and question details and language and code editor info
anunayajoshi Nov 2, 2024
93ea113
keep chat history
anunayajoshi Nov 2, 2024
e88094f
PEER-219: Refactor localstorage userId
SeeuSim Nov 2, 2024
1cf022d
PEER-219: Add Page title
SeeuSim Nov 3, 2024
ec62104
PEER-219: Add scaffold for question attempts UI
SeeuSim Nov 3, 2024
4d28d5b
PEER-219: Streamline query logic and integrate with matching service
SeeuSim Nov 3, 2024
7ac2498
PEER-219: Add Question Attempts Table
SeeuSim Nov 3, 2024
c4627b7
PEER-219: Refactor attempts files
SeeuSim Nov 3, 2024
e2f12bd
PEER-219: Add ID Header
SeeuSim Nov 3, 2024
8089688
PEER-219: Add Attempt UI
SeeuSim Nov 3, 2024
7ed719b
PEER-219: Add Attempt Details UI final touches
SeeuSim Nov 3, 2024
e71340c
PEER-219: Remove redundant code
SeeuSim Nov 3, 2024
d2db88d
PEER-226: Fix message styles and formatting
SeeuSim Nov 3, 2024
8136163
PEER-226: Remove unused code
SeeuSim Nov 3, 2024
571628b
PEER-226: Add prompts
SeeuSim Nov 3, 2024
4808a9e
PEER-226: Clean up code
SeeuSim Nov 3, 2024
43f9d89
PEER-219: Add question details attempts view
SeeuSim Nov 3, 2024
9a3494b
PEER-219: Add question attempt status to main view
SeeuSim Nov 3, 2024
0a50ac3
PEER-219: Remove query logging in prod
SeeuSim Nov 3, 2024
c1c1d6b
Merge pull request #71 from CS3219-AY2425S1/PEER-N2-Question-Attempt-…
SeeuSim Nov 3, 2024
b66d9a1
Peer-226: Build-fail - Remove unused code, and small ui update
cyiting Nov 3, 2024
dec7c26
Merge branch 'anun/chat-gen' of https://github.com/CS3219-AY2425S1/cs…
cyiting Nov 3, 2024
e09bbf2
Merge branch 'main' of github.com:CS3219-AY2425S1/cs3219-ay2425s1-pro…
SeeuSim Nov 3, 2024
27e36a5
Merge branch 'anun/chat-gen' of github.com:CS3219-AY2425S1/cs3219-ay2…
SeeuSim Nov 3, 2024
ff48cc5
Merge pull request #72 from CS3219-AY2425S1/anun/chat-gen
cyiting Nov 4, 2024
c47df15
Minor ui fixes
cyiting Nov 4, 2024
3f220ab
Prevent 2 users that match on the same question again from entering t…
cyiting Nov 4, 2024
f6f2f68
Fix text overflow
cyiting Nov 4, 2024
b3c598c
Text wrap round for the prompt buttons
cyiting Nov 4, 2024
44708bc
fallbacks for random qn
anunayajoshi Nov 4, 2024
8015f49
PEER-219: Add question history dynamic query builder for attempted qns
SeeuSim Nov 4, 2024
7f2ae2f
PEER-219: Remove build error for unused param
SeeuSim Nov 4, 2024
f1a27bf
chore: fix editor interview rm styles
SeeuSim Nov 4, 2024
c780947
Merge pull request #75 from CS3219-AY2425S1/anun/get-rando-qn
SeeuSim Nov 4, 2024
d0376b4
Merge branch 'main' into d6/ui-fixes
SeeuSim Nov 4, 2024
43a2f90
Merge pull request #74 from CS3219-AY2425S1/d6/ui-fixes
SeeuSim Nov 4, 2024
a65cd8c
Ui fixes
cyiting Nov 4, 2024
f677eba
Add scroll fix for tab content
SeeuSim Nov 4, 2024
1428490
Merge pull request #76 from CS3219-AY2425S1/d6/ui-fixes
SeeuSim Nov 4, 2024
c9c3b14
chore(docs): Update k8s docs for gcloud SSD quota
SeeuSim Nov 5, 2024
d52e067
(chore): Fix AI history dark mode bug
SeeuSim Nov 7, 2024
0f7d97c
chore/ui: Add fix for copy paste from chat
SeeuSim Nov 7, 2024
c94dd71
Add admin user
SeeuSim Nov 7, 2024
80f9959
chore/ui: minimise layout shift for auth check
SeeuSim Nov 7, 2024
4ad7968
chore/ui: Add user dropdown
SeeuSim Nov 7, 2024
20e2030
chore/ui: try fix build bug
SeeuSim Nov 7, 2024
11abbd8
chore/ui: try fix build bug
SeeuSim Nov 7, 2024
32a77a0
chore/ui: try fix build bug
SeeuSim Nov 7, 2024
39fb9dc
try fix build bug
SeeuSim Nov 7, 2024
85afa58
try fix build bug
SeeuSim Nov 7, 2024
e447e76
try fix build bug
SeeuSim Nov 7, 2024
8ce07d4
try fix build bug
SeeuSim Nov 7, 2024
1f80d09
chore/ui: Add update form
SeeuSim Nov 7, 2024
24ffd5c
chore/ui: Add CRUD for questions
SeeuSim Nov 7, 2024
bcd6594
chore/ui: Add CRUD for questions
SeeuSim Nov 7, 2024
34c25be
chore/ui: try fix build
SeeuSim Nov 7, 2024
f1735f1
chore/ui: try fix build
SeeuSim Nov 7, 2024
3c693a1
chore/ui: Add appropriate form resets
SeeuSim Nov 7, 2024
9d0db7f
chore/ui: Add tweaks for markdown editors
SeeuSim Nov 8, 2024
1192a43
chore/ui: Add requested fixes
SeeuSim Nov 8, 2024
474ec44
chore/ui: Add updates for form state bugs
SeeuSim Nov 8, 2024
50fc62b
D7 - User auth on entering interview room
cyiting Nov 8, 2024
10db91f
D7: Docker files, bug fixes
cyiting Nov 8, 2024
845c555
Merge pull request #77 from CS3219-AY2425S1/chore/demo-ui-fixes
cyiting Nov 8, 2024
dcfcf6b
D7: Add requested fixes
SeeuSim Nov 8, 2024
55564fe
d7/interview: Add list of interviews for back navigation
SeeuSim Nov 8, 2024
2de99fe
d7/ui: Add interviews tables and crumbs
SeeuSim Nov 8, 2024
0232ce1
Merge branch 'main' into d7/interview-auth
SeeuSim Nov 8, 2024
a6ea205
Merge pull request #78 from CS3219-AY2425S1/d7/interview-auth
cyiting Nov 8, 2024
0589321
Update README
SeeuSim Nov 14, 2024
dcfb6b6
Update archi
SeeuSim Nov 14, 2024
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
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
USER_SERVICE_NAME=user-express
USER_EXPRESS_PORT=9001
USER_EXPRESS_DB_PORT=5431
USER_PGDATA="/data/user-db"

QUESTION_SERVICE_NAME=question-express
QUESTION_EXPRESS_PORT=9002
QUESTION_EXPRESS_DB_PORT=5433
QUESTION_PGDATA="/data/qn-db"

COLLAB_SERVICE_NAME=collab-express
COLLAB_EXPRESS_PORT=9003
COLLAB_EXPRESS_DB_PORT=5434
COLLAB_PGDATA="/data/collab-db"
OPENAI_API_KEY="<insert_key>"

MATCHING_SERVICE_NAME=match-express
MATCHING_EXPRESS_PORT=9004
MATCHING_DB_USERNAME="peerprep-match-express"
MATCHING_DB_PASSWORD="password"
MATCHING_DB_HOST_PORT=6378
MATCHING_DB_HOST_MGMT_PORT=3001

CHAT_SERVICE_NAME=chat-express
CHAT_EXPRESS_PORT=9005
CHAT_EXPRESS_DB_PORT=5435
CHAT_PGDATA="/data/chat-db"

FRONTEND_SERVICE_NAME=frontend
FRONTEND_PORT=3000
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
**/node_modules

**/dist
113 changes: 113 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:tailwindcss/recommended",
"plugin:@tanstack/eslint-plugin-query/recommended"
// "plugin:@tanstack/eslint-plugin-query"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"import",
"unused-imports",
"react",
"@typescript-eslint",
"tailwindcss",
"react-hooks",
"simple-import-sort"
],
"rules": {
"@typescript-eslint/array-type": [
"error",
{
"default": "generic",
"readonly": "generic"
}
],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": ["PascalCase"]
}
],
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-use-before-define": 0,

// Basic
"array-callback-return": "warn",
"no-console": "warn",
"no-multiple-empty-lines": ["error", { "max":1 }],
"no-prototype-builtins": 0,
// "no-expected-multiline": "warn", // can"t find rule definition

"padding-line-between-statements": [
"warn",
{ "blankLine": "always", "prev": "*", "next": "block" },
{ "blankLine": "always", "prev": "block", "next": "*" },
{ "blankLine": "always", "prev": "*", "next": "block-like" },
{ "blankLine": "always", "prev": "block-like", "next": "*" }
],

// React
"react/display-name": 0,
"react/no-unescaped-entities": ["error", { "forbid": [">", "}", "\""] }],
"react/no-unknown-property": "off",
"react/self-closing-comp": [
"error",
{
"component": true,
"html": true
}
],
"react-hooks/rules-of-hooks": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"tailwindcss/enforces-negative-arbitrary-values": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
]
},
"ignorePatterns": ["**/*.js"],
"overrides": [
{
"files": ["frontend/**/*.tsx"],
"rules": {
"react/prop-types": "off"
}
},
{
"files": ["*.js", "*.ts", "*.tsx"],
"rules": {
"simple-import-sort/imports": [
"error",
{
"groups": [
["^(?:os|path|http|fs|crypto|util|events|stream|url|zlib|querystring|tls|dgram|net|dns|child_process|cluster|readline|vm|assert|buffer|process|timers)(\/.*)?$"],
["^(?!(@\/|\\.\\.\/|\\.\/))"],
["^@\/"],
["^(?:\\.\/|\\.\\.\/|\\.)"]
]
}
]
}
}
]
}
Loading