Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
a0b0936
Setting up GitHub Classroom Feedback
github-classroom[bot] Sep 1, 2025
0af175c
add deadline
github-classroom[bot] Sep 1, 2025
4f07015
Set up frontend files (Nexjs with Typescript and Tailwind CSS)
LemonDrew Sep 7, 2025
2ce559e
Merge pull request #2 from CS3219-AY2526Sem1/create-frontend
LemonDrew Sep 7, 2025
fa6c1b3
Add ci workflow for checking formatting and syntax errors
LemonDrew Sep 7, 2025
84b1f8b
Merge pull request #3 from CS3219-AY2526Sem1/create-lint-workflow
LemonDrew Sep 7, 2025
22d145f
Fix minor bug
LemonDrew Sep 7, 2025
79c9a4a
Set frontend folder as the root source for Turbopack
LemonDrew Sep 7, 2025
aaa68cd
Fix bug where CI is not running on frontend folder
LemonDrew Sep 7, 2025
105cebb
Update dependencies to include prettier
LemonDrew Sep 7, 2025
5649605
Remove the default Next page
LemonDrew Sep 7, 2025
0364db7
Add shadcn library
LemonDrew Sep 7, 2025
6925ddf
Add skeleton pages for both login and signup page
LemonDrew Sep 7, 2025
1217073
Add signup portion in Login Page
LemonDrew Sep 7, 2025
be1f475
Add UI for signup form
LemonDrew Sep 7, 2025
3cc576a
Add placeholder logic to navigate to home page
LemonDrew Sep 7, 2025
974c1d3
Add components for Home Page
LemonDrew Sep 7, 2025
c3c1169
Add home page
LemonDrew Sep 7, 2025
b395c77
Update contents of components for Home Page
LemonDrew Sep 7, 2025
14bc476
Add statistics page containing 4 groups of stats
LemonDrew Sep 7, 2025
a43737f
Fix styling using prettier to pass CI workflow
LemonDrew Sep 7, 2025
91cbfe5
Refactor components' names
LemonDrew Sep 8, 2025
d09b8dd
Add logo
LemonDrew Sep 8, 2025
5e52844
Change theme to light mode
LemonDrew Sep 8, 2025
dff9891
Add react icons dependency
LemonDrew Sep 8, 2025
cccb125
Refactor page into separate components
LemonDrew Sep 8, 2025
1af37c3
Fix styling
LemonDrew Sep 8, 2025
cb2999c
Refactor difficult component into another file
LemonDrew Sep 8, 2025
b92ac67
Merge pull request #4 from CS3219-AY2526Sem1/template-ui
LemonDrew Sep 9, 2025
768ec4d
Set up nginx files
LemonDrew Sep 12, 2025
f032d7e
Change to using docker image instead
LemonDrew Sep 12, 2025
a6930c0
Clean all codes
LemonDrew Sep 12, 2025
c75c4d7
Set up docker file and config file
LemonDrew Sep 14, 2025
a8f9349
Add dockerfile
LemonDrew Sep 14, 2025
e77d1df
Merge remote-tracking branch 'origin/dockerize-frontend' into dev/foo…
FooChao Sep 14, 2025
4fd1ddf
Add docker-compose.yml + set up local mongodb
FooChao Sep 14, 2025
4584e97
Rename .env to .env.sample
FooChao Sep 14, 2025
68e41a0
Update docker compose.yml with comments
FooChao Sep 14, 2025
5e3033f
Add debounced input component
FooChao Sep 15, 2025
0178678
Add AI Logging
FooChao Sep 15, 2025
38aa84f
Update time in AI logging
FooChao Sep 15, 2025
bf07c94
Update README.md with reference
FooChao Sep 15, 2025
66cb337
Copy provided user service into our repo
FooChao Sep 15, 2025
c11a4d7
Merge branch 'copy-user-service' into add-user-service
FooChao Sep 15, 2025
205a177
Update ai/usage-log.md
FooChao Sep 15, 2025
b1a895c
Set up mongo db and update compose.yml
FooChao Sep 15, 2025
6c1f571
Update user-model.js with verified field
FooChao Sep 15, 2025
aeb55f3
Merge remote-tracking branch 'origin/setup-nginx-docker' into add-use…
FooChao Sep 15, 2025
58b01fa
Merge pull request #5 from CS3219-AY2526Sem1/setup-nginx-docker
LemonDrew Sep 15, 2025
c6b52e1
Set default url to be at the login page
LemonDrew Sep 15, 2025
92c88e5
Update docker compose to use api gateway
FooChao Sep 15, 2025
0a893d4
Extract search logic into a separate file
LemonDrew Sep 15, 2025
82f838a
Add npm start / run dev / install shortcuts on root repo
FooChao Sep 15, 2025
c61403b
Add skeleton page for collab service
LemonDrew Sep 15, 2025
56c030e
Improve styling for sign up page
FooChao Sep 15, 2025
5e589f4
Merge remote-tracking branch 'origin/master' into add-user-service
FooChao Sep 15, 2025
18945ad
Synchronise sign up component state
FooChao Sep 15, 2025
4bc013e
Enforce Strong Password using regex
FooChao Sep 15, 2025
2e2b4e3
Improve UX
FooChao Sep 15, 2025
0f01282
Add regions for better readability
FooChao Sep 15, 2025
17bbd94
Use API for signing in and add toast
FooChao Sep 15, 2025
060f99c
Fix middleware at wrong location
FooChao Sep 15, 2025
60a1ce3
Remove unnecessary console.log
FooChao Sep 15, 2025
3d43b24
Move errorHandlers file location
FooChao Sep 15, 2025
5edd94b
Add cookies handler
FooChao Sep 15, 2025
eff4d09
Merge pull request #7 from CS3219-AY2526Sem1/copy-user-service
FooChao Sep 15, 2025
50ff755
Track state in log in component
FooChao Sep 15, 2025
f93c936
Use router for changin page without a reload
FooChao Sep 15, 2025
5909371
Add ability to login
FooChao Sep 15, 2025
e9d7af4
Update AI usuage with correct claude model
FooChao Sep 15, 2025
aace294
Update AI dislosure
FooChao Sep 15, 2025
233363b
Add navbar and userContext to store username and email
FooChao Sep 15, 2025
36c58fc
Update navbar styling
FooChao Sep 15, 2025
3b776b4
Fix bug where context is not updated correctly after logging in
FooChao Sep 15, 2025
584d7f7
Cleqar toast after successful redirecting
FooChao Sep 15, 2025
18ca3e3
Resolve Docker networking issue for middleware token verification
FooChao Sep 15, 2025
e771f39
Merge remote-tracking branch 'origin/master' into add-user-service
FooChao Sep 15, 2025
3d89164
Run auto format fix in frontend
FooChao Sep 15, 2025
d1a575e
Add email regex validation and remove leading/trailing space for emai…
FooChao Sep 16, 2025
4e9157c
Give more specific error message when it is either username or email …
FooChao Sep 16, 2025
c83a000
Run style auto fix
FooChao Sep 16, 2025
c23d1bd
Run npm audit fix
FooChao Sep 16, 2025
b9b1389
Add auth-guard to prevent user from unauthorised back-tracking after …
FooChao Sep 16, 2025
64e4aec
Run format fix
FooChao Sep 16, 2025
f039ee9
Merge pull request #8 from CS3219-AY2526Sem1/dev/derrick/collab-frontend
CJianzhi Sep 17, 2025
004c415
Fix bug where navigation by other means cause the navbar to not get u…
FooChao Sep 17, 2025
425c407
Merge remote-tracking branch 'origin/master' into add-user-service
FooChao Sep 17, 2025
0f9e843
Remove unnecessary files
LemonDrew Sep 17, 2025
4e25d44
Set navbar to not appear in collab page
LemonDrew Sep 17, 2025
758a8f7
Add skeleton page for collab page, including the code editor
LemonDrew Sep 17, 2025
7de2d9c
Include monaco library for code editor page
LemonDrew Sep 17, 2025
aa809a4
Update package-lock.json
LemonDrew Sep 17, 2025
068ec80
Fix styling and add chat component
LemonDrew Sep 17, 2025
a2c295d
Clean up styling by using flex
LemonDrew Sep 17, 2025
f0851cb
Set height to be that of the screen
LemonDrew Sep 17, 2025
9e47b8e
Fixed height
LemonDrew Sep 17, 2025
c9f7619
Add new shadcn component
LemonDrew Sep 17, 2025
7d85ed8
Fix styling
LemonDrew Sep 17, 2025
7e68252
Add questions page
LemonDrew Sep 17, 2025
351a8ed
Touch up on question component
LemonDrew Sep 17, 2025
c649561
Add user
LemonDrew Sep 17, 2025
eaca5af
Fix styling
LemonDrew Sep 17, 2025
1b4d8e6
Add header items
LemonDrew Sep 17, 2025
0d616cd
Minor UI changes
LemonDrew Sep 17, 2025
53388cc
Fix styling
LemonDrew Sep 17, 2025
81bd390
Remove h-full to prevent scrollbar from appearing
LemonDrew Sep 17, 2025
109d08d
Merge pull request #9 from CS3219-AY2526Sem1/add-user-service
LemonDrew Sep 18, 2025
9e1e1c2
Fix minor issue where editor is not changing support for different
LemonDrew Sep 19, 2025
dadd3b3
Configure the code editor such that the user will only able to
LemonDrew Sep 19, 2025
f9fe569
Fix styling
LemonDrew Sep 19, 2025
7a02869
Merge branch 'master' into collab-frontend
LemonDrew Sep 19, 2025
38073c0
Merge pull request #14 from CS3219-AY2526Sem1/collab-frontend
ITZXITZX Sep 19, 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
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint CI
on:
pull_request:
branches:
- master

jobs:
check-lint:
runs-on: ubuntu-latest

defaults:
run:
working-directory: frontend

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json

- run: npm ci

- run: npm run lint

- run: npm run format
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/.env
**/node_modules
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-22041afd0340ce965d47ae6ef1cefeee28c7c493a6346c4f15d667ab976d596c.svg)](https://classroom.github.com/a/QUdQy4ix)
# CS3219 Project (PeerPrep) - AY2526S1
## Group: Gxx
## Group: G01

### Note:
- You are required to develop individual microservices within separate folders within this repository.
- The teaching team should be given access to the repositories as we may require viewing the history of the repository in case of any disputes or disagreements.

### References:
- https://github.com/CS3219-AY2526Sem1/PeerPrep-UserService
Loading