Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 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
feb5d3d
#38: Added fixes to Settings Page
Darren52BT Mar 9, 2024
b8cdd42
Merge branch 'main' into dev
Darren52BT Mar 10, 2024
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
server/.env
23 changes: 23 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
70 changes: 70 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
42 changes: 42 additions & 0 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="./favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json" />

<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 Catalog</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.

You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.

To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
Loading