Skip to content
Merged

Dev #59

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
171 commits
Select commit Hold shift + click to select a range
0fcd39b
start frontend repo
Darren52BT Oct 24, 2023
250453d
basic server and api
pv-nguyen Oct 30, 2023
264729f
packeges
pv-nguyen Oct 30, 2023
11c3187
global header (search functionality pending)
davidgit3000 Oct 30, 2023
11d4378
Merge branch 'dev' of https://github.com/cppsea/CS-Catalog into dl_dev
davidgit3000 Oct 30, 2023
2990917
implementing fetch
pv-nguyen Oct 31, 2023
7529276
added cors middleware for server, implement query string for title
pv-nguyen Oct 31, 2023
55c06a7
Update header
davidgit3000 Nov 1, 2023
5d78e05
commit again
davidgit3000 Nov 1, 2023
cb76c30
update header
davidgit3000 Nov 1, 2023
ba071b8
m
davidgit3000 Nov 1, 2023
c54d5f1
merge with new server update and fetch function
davidgit3000 Nov 2, 2023
6f91c83
conclude merge
davidgit3000 Nov 2, 2023
f8fec0d
fixing commit
pv-nguyen Nov 2, 2023
036094c
random notes
pv-nguyen Nov 2, 2023
bba4e03
reformat
pv-nguyen Nov 2, 2023
5cf4230
fix conflict
davidgit3000 Nov 2, 2023
0f77a3f
Merge branch 'dl_dev' of https://github.com/cppsea/CS-Catalog into dl…
davidgit3000 Nov 2, 2023
1e7944a
search bar design complete (rendering article searh page pending)
davidgit3000 Nov 2, 2023
03ae613
fetch works with searchbar
pv-nguyen Nov 2, 2023
fc79b08
finished user api as well as part of articles api
jdang9191 Nov 5, 2023
416280e
PR: Implemented Search Bar on Global Header (#3)
davidgit3000 Nov 7, 2023
08b3bf6
#8: Implemented basic article summary, article results, and routing
Darren52BT Nov 14, 2023
305960f
#9: Implemented Article Section Header Component
Darren52BT Nov 17, 2023
40a50a4
#10: implemented Article BodySection component
Darren52BT Nov 21, 2023
11efe56
#11: Implemented Topic List component
Darren52BT Nov 21, 2023
4dee82d
#12: Implemented Article Header
Darren52BT Nov 24, 2023
9dfef6a
#13: Implemented Article Page Image Banner
Darren52BT Nov 24, 2023
7e64121
#14: Implements Table of Contents Component
Darren52BT Nov 24, 2023
0557659
#15: Implemented Article Related Topics Component
Darren52BT Nov 24, 2023
f50a0ba
#16: Implemented Article Page component and in Article View
Darren52BT Nov 25, 2023
dd5a3ac
added bcrpyt to hash passwords
jdang9191 Nov 30, 2023
407246f
added login post request to see if password matched with hashed password
jdang9191 Nov 30, 2023
b2d5e1a
added firebase commands
jdang9191 Dec 23, 2023
d05b499
Create a Signin Card component with custom stylings (#18)
davidgit3000 Jan 4, 2024
6737ca4
#!9: Constructed Signin/Signup Pages
Darren52BT Jan 7, 2024
b3b1e0e
#16: Refactored Routes to use Outlet
Darren52BT Jan 8, 2024
b316bda
#22: Migrated Frontend to Vite
Darren52BT Jan 9, 2024
24f7a31
create jwt token
pv-nguyen Jan 11, 2024
da6fae7
added Footer, changed the route for Signin and Signup in App.jsx, and…
davidgit3000 Jan 11, 2024
115fd5a
position the Footer to the bottom of the page
davidgit3000 Jan 11, 2024
04fc48f
added Footer, changed the route for Signin and Signup in App.jsx, and…
davidgit3000 Jan 11, 2024
735a093
login returns token
pv-nguyen Jan 11, 2024
c55a0df
Add files via upload
ryagatep Jan 12, 2024
580c389
Update index.js
ryagatep Jan 12, 2024
308e046
Update queries.js
ryagatep Jan 12, 2024
cf4d50e
created Profile Setting component
davidgit3000 Jan 16, 2024
1f71e30
add scss file for ProfileEdit, validation, and some small functionali…
davidgit3000 Jan 16, 2024
0e5784a
add rounded corner to the InputGroup
davidgit3000 Jan 16, 2024
c410274
add logo links for the Footer
davidgit3000 Jan 16, 2024
f5189f1
modified the styling of ProfileEdit, added a SCSS file for resuable S…
davidgit3000 Jan 17, 2024
c13e8b2
fixed the bug of password toggle icon and added validation for Passwo…
davidgit3000 Jan 17, 2024
9ebcd8d
Merge remote-tracking branch 'remotes/origin/dev' into dl-profile-set…
davidgit3000 Jan 18, 2024
8da472a
add navbar link, construct the profile setting page, and correct the …
davidgit3000 Jan 19, 2024
f3e67b2
quick fix to not returning right page
pv-nguyen Jan 23, 2024
bb53786
Merge branch 'dev' of https://github.com/cppsea/CS-Catalog into dev
pv-nguyen Jan 23, 2024
a830966
Merge remote-tracking branch 'origin/authbackend_dev' into authfronte…
pv-nguyen Jan 23, 2024
120bc5e
cleaning up merge
pv-nguyen Jan 23, 2024
4fd178c
pt 2
pv-nguyen Jan 23, 2024
0aa2c5c
wrap auth context around frontend application
pv-nguyen Jan 23, 2024
0f86e54
create hook to handle signup fetch
pv-nguyen Jan 23, 2024
2c7a5b0
#29: Implemented User Settings Customizations Form
Darren52BT Jan 23, 2024
4d8e56b
fix the navbar underline color, enable navigation between each nav link
davidgit3000 Jan 24, 2024
f98ec60
merge conflicts fixed
davidgit3000 Jan 25, 2024
10d05db
add CustomizationsEdit to the 'Customiztions' nav link
davidgit3000 Jan 25, 2024
bebb035
finish auth, local storage of user, and example of how to access user
pv-nguyen Jan 25, 2024
aef5341
#30: Implemented Saved Articles form section for the settings
Darren52BT Jan 26, 2024
adba9ac
Create requireAuth.js
pv-nguyen Jan 28, 2024
58d07de
a
pv-nguyen Jan 28, 2024
85bd469
added middleware file which makes sure user is authenticated before u…
jdang9191 Feb 10, 2024
0735f4a
created authorize article middlware that is supposed to check if if u…
jdang9191 Feb 12, 2024
5617145
railway implemented
pv-nguyen Feb 19, 2024
a4c85ef
gitignore
pv-nguyen Feb 19, 2024
12784d5
gitignore
pv-nguyen Feb 19, 2024
6c7f7c5
gitignore update
pv-nguyen Feb 19, 2024
adfb23f
#31: Added new palette colors as scss variables
Darren52BT Feb 19, 2024
c116c3a
redesigned the header based on Figma
davidgit3000 Feb 20, 2024
b12a3fc
changed the spacing between left and right sections in larger viewpor…
davidgit3000 Feb 20, 2024
59c32d0
new middleware that makes sure only author can delete article they made
jdang9191 Feb 20, 2024
4c89d3a
add theme toggler
davidgit3000 Feb 23, 2024
9c54633
#33: Implemented footer and added fonts
Darren52BT Feb 24, 2024
36f3035
created the web title and added the main article for the Home page
davidgit3000 Feb 24, 2024
36de714
fixed the main article stylings, added parameters for MainArticle, mo…
davidgit3000 Feb 27, 2024
32f5f68
changed the link of 'My Profile' on the user menu
davidgit3000 Feb 27, 2024
cfd78e6
#35: finished sign pages redesign
Darren52BT Feb 27, 2024
49fd531
added color modes for AppTitle, MainArticle, and Header
davidgit3000 Feb 27, 2024
8aa15d2
fixed the merge conflicts
davidgit3000 Feb 28, 2024
1eb09ea
#36: implemented settings redesign
Darren52BT Feb 29, 2024
8263cee
#37: implemented article page redesign
Darren52BT Mar 2, 2024
0ee758a
made some adjustments to settings
Darren52BT Mar 3, 2024
160e6dd
Revert "made some adjustments to settings"
Darren52BT Mar 3, 2024
670087a
new articles format
pv-nguyen Mar 3, 2024
c4f63f3
Merge branch 'auth_dev' into backend_dev
pv-nguyen Mar 4, 2024
966d4b6
Merge branch 'backend_crudTest' into backend_dev
pv-nguyen Mar 4, 2024
3bd628e
Merge branch 'backend_dev' into dev
pv-nguyen Mar 4, 2024
bd706d1
designed the popular articles section
davidgit3000 Mar 9, 2024
feb5d3d
#38: Added fixes to Settings Page
Darren52BT Mar 9, 2024
b8cdd42
Merge branch 'main' into dev
Darren52BT Mar 10, 2024
40fa0e9
fixed the huge gap in larger screen and minor stuff in Popular Articl…
davidgit3000 Mar 16, 2024
6d94162
fixed the banner width, auto-shrinking width for the two bars of the …
davidgit3000 Mar 16, 2024
b149760
Update routes.js
pv-nguyen Mar 20, 2024
bb7f1ed
small fix
pv-nguyen Mar 20, 2024
bebbfbc
Update routes.js
pv-nguyen Mar 20, 2024
9310072
Update routes.js
pv-nguyen Mar 20, 2024
bef3d47
created recent articles section
davidgit3000 Mar 22, 2024
b74f104
fixed the title width and image width for popular articles section
davidgit3000 Mar 22, 2024
da0dbef
#41: created article result container
Darren52BT Mar 23, 2024
6aa0214
#42: created related tags section for article results page
Darren52BT Mar 23, 2024
dbf6371
constructed article results page layout with search query title
Darren52BT Mar 23, 2024
5f0d791
added recent articles
davidgit3000 Mar 29, 2024
9a44b35
constructed results page, refactored article view page
Darren52BT Mar 30, 2024
aeeda3e
fixed responsive sizing of article data under the article image in sm…
davidgit3000 Mar 31, 2024
7865580
fixed the media query for around 990px viewport on the banner images …
davidgit3000 Mar 31, 2024
227549c
modified the sizings on a tablet and larger screen viewports
davidgit3000 Apr 5, 2024
ad69456
Merge branch 'popular-articles-dev' into dev
davidgit3000 Apr 5, 2024
3eaa167
slightly modified the width of articles and their images responsively
davidgit3000 Apr 5, 2024
d70296d
refactored the Home page based on new UI changes from Figma
davidgit3000 Apr 10, 2024
c36d354
fixed the light color mode for article date-time and author
davidgit3000 Apr 10, 2024
7ab3132
fixed the spacing between author name and published date, and changed…
davidgit3000 Apr 11, 2024
ba4acbd
Merge branch 'recent-articles-dev' into dev
davidgit3000 Apr 11, 2024
13d8f31
Uppercase header nav-bar and and make the logo bigger
buitai97 Apr 12, 2024
5902899
Merge branch 'dev' of https://github.com/cppsea/CS-Catalog into dev
buitai97 Apr 12, 2024
32f4cfb
Revert "Uppercase header nav-bar and and make the logo bigger"
buitai97 Apr 13, 2024
358ef1f
Update header and footer
buitai97 Apr 16, 2024
e5e00f8
Merge branch 'homepage-update' into dev
buitai97 Apr 16, 2024
0cb93d9
Merge branch 'dev' of https://github.com/cppsea/CS-Catalog into dev
buitai97 Apr 16, 2024
4f87e59
signin/signup pages redev
davidgit3000 Apr 19, 2024
7e7db6a
removed files with unexpected changes on dev
davidgit3000 Apr 20, 2024
6cce9d1
Merge remote-tracking branch 'remotes/origin/results-page-constructio…
davidgit3000 Apr 20, 2024
08b3192
refactoring article results page based on the new UI changes
davidgit3000 Apr 20, 2024
a6f2f19
Create NewLogo
magbitty Apr 27, 2024
db3da37
Delete frontend/src/assets/NewLogo
magbitty Apr 27, 2024
cba985c
Create logo
magbitty Apr 27, 2024
8b31829
Add files via upload
magbitty Apr 27, 2024
3efad8e
Delete frontend/src/assets/NewLogo/logo
magbitty Apr 27, 2024
0cbd2e2
minor changes on ArticleHeader and ArticleHeaderTitle
davidgit3000 May 21, 2024
9e4b132
Merge branch 'article-results-page-redev' into dev
davidgit3000 May 21, 2024
0ecd237
fixed some changes on the position of tabs menu on the left, make all…
davidgit3000 May 22, 2024
e1b059f
welcome page fixed
davidgit3000 May 23, 2024
dd739f7
removed TODO comment
davidgit3000 May 23, 2024
ee51486
Merge branch 'sign-page-redev' into dev
davidgit3000 May 23, 2024
5914e35
Merge branch 'backend_dev' of https://github.com/cppsea/CS-Catalog in…
pv-nguyen May 30, 2024
00a2692
Update .gitignore
pv-nguyen May 30, 2024
1c4164e
change so only check authorization for creating/deleting articles and…
pv-nguyen May 30, 2024
279eb22
fixed search by title
pv-nguyen May 30, 2024
b53c556
used the new logo on the Home page
davidgit3000 May 30, 2024
13d049f
added the CC logo on the header
davidgit3000 May 30, 2024
9a546a8
redesigned the footer layout and added the new logo
davidgit3000 May 30, 2024
3de731b
case insensitive article search
pv-nguyen May 30, 2024
b488d75
Create ImageStorage
plexin123 Mar 22, 2024
445818c
Changed User Endpoints
pv-nguyen Jun 4, 2024
d1f1002
bookmarks
pv-nguyen Jun 4, 2024
dabe270
Merge branch 'backend_dev' into dev
pv-nguyen Jun 4, 2024
729b0cb
bookmarks
pv-nguyen Jun 7, 2024
03d3589
Merge branch 'backend_dev' into dev
pv-nguyen Jun 7, 2024
6c6a8fc
Merge branch 'logo-home-dev' into dev
davidgit3000 Jun 10, 2024
cd1f8fe
initialized all articles bookmark to be false (not filled icon)
davidgit3000 Jun 10, 2024
66d18d7
delete multiple bookmarks at once
pv-nguyen Jun 14, 2024
2cfa798
Merge branch 'backend_dev' into dev
pv-nguyen Jun 16, 2024
5acab0f
Make some changes about .env and connection refused
plexin123 Jun 18, 2024
02b7ecc
login/signup 90%
plexin123 Jun 19, 2024
edee848
fixed bug allowing user to be empty by restricting no white spacesl, …
Darren52BT Jun 20, 2024
f92c075
fixed bug with moving on to login even if there are errors
Darren52BT Jun 20, 2024
99120a0
fixed bug with fieldnames in sign up
Darren52BT Jun 20, 2024
74734c0
small change
plexin123 Jun 23, 2024
73c2609
Merge remote-tracking branch 'origin/dev' into ImageStorage
plexin123 Jun 24, 2024
d193812
Merge pull request #54 from cppsea/ImageStorage
plexin123 Jun 24, 2024
a39b75d
add authorizeArticle
plexin123 Jun 27, 2024
4dd2941
Merge pull request #55 from cppsea/ImageStorage
plexin123 Jun 27, 2024
37cabb1
Implemented article editor, admin portal, comments/likes, and finishe…
Darren52BT Aug 8, 2025
0ca2664
merged dev into main
Darren52BT Aug 8, 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
server/.env
.env
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
24 changes: 24 additions & 0 deletions admin-frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
12 changes: 12 additions & 0 deletions admin-frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
29 changes: 29 additions & 0 deletions admin-frontend/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import { defineConfig, globalIgnores } from 'eslint/config'

export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{js,jsx}'],
extends: [
js.configs.recommended,
reactHooks.configs['recommended-latest'],
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
rules: {
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
},
},
])
20 changes: 20 additions & 0 deletions admin-frontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
<title>CS Central Admin Portal</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading