Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
7d1bb9b
updated all scripts to use legacy openssl provider
neild0 Mar 23, 2023
141d83d
cleaned up codebase + updated backend integration
neild0 Apr 27, 2023
0b4bd2f
updated pull code
neild0 May 4, 2023
6716201
working pull event implement
neild0 May 4, 2023
d231b0f
fix ui for tags
neild0 May 5, 2023
69af4f6
Update package-lock
huy-dai Jun 18, 2023
71f0621
Add categories definition
huy-dai Jun 18, 2023
f30cc5b
Resolve errors with missing event sender and tags
huy-dai Jun 18, 2023
4edae2c
Patch in Categories.getCategories implementation and update reference…
huy-dai Jun 18, 2023
cd5b23c
Add title display
huy-dai Jun 18, 2023
0b6cfbb
Tags now display below dates in calendar view, along with color to in…
huy-dai Jun 25, 2023
d4d3e0f
Fix categories fetching for HomeSideBarCategoriesView, remove extra p…
huy-dai Jul 13, 2023
fd770f9
Remove node v18 only config
huy-dai Jul 22, 2023
017771a
Downgrade typescript devDependencies
huy-dai Jul 22, 2023
20ddd52
Undo mess of trying to downgrade to v16, stay on v18
huy-dai Jul 23, 2023
281a718
Add http-server
huy-dai Aug 6, 2023
ab92db7
Uncomment Github page stuff
huy-dai Aug 6, 2023
eac8dd2
Add supporting for toggling category views and saving local preferences
huy-dai Aug 6, 2023
95eb81b
Why are we double querying??
huy-dai Aug 13, 2023
2ee5574
Add SALE category
huy-dai Sep 1, 2023
39cef83
Get frequency of events for month view on startup
huy-dai Sep 1, 2023
c15d9d9
Fix event selection logic with event ID and fetch current day events …
huy-dai Sep 1, 2023
6660224
Add message that search feature will come in the future
huy-dai Sep 1, 2023
91b9a2a
Improve color choices for categories
huy-dai Sep 9, 2023
08025f6
Add dormdigest logos
huy-dai Sep 9, 2023
963b963
Switch packages to use node 18 versions where possible (still need to…
huy-dai Sep 9, 2023
e535dde
Add Typescript support
huy-dai Sep 9, 2023
7e7c3a7
Add to .gitignore auth backend and backup folders
huy-dai Sep 9, 2023
cc4e8d4
Bring in frontend auth files and integrate them, fixing up Dormspam's…
huy-dai Sep 9, 2023
5ab9e47
Add the auth Express.js backend
huy-dai Sep 9, 2023
051a962
Fix up categories coloring so it's more vibrant
huy-dai Sep 9, 2023
acd8932
Add support for session ID to auth backend and frontend
huy-dai Sep 9, 2023
e0179c7
Make login view nice on mobile
huy-dai Sep 9, 2023
d17f767
Add axios-cache-interceptor package
huy-dai Sep 14, 2023
c5bfcce
Add one hour caching for frequency and by date results
huy-dai Sep 14, 2023
479101e
Fix issue with updating parent component on initial render
huy-dai Sep 14, 2023
cfb1770
Make browser caching 6 hours for now
huy-dai Sep 14, 2023
a1cf395
Merge pull request #1 from sipb/updating_frontend
huy-dai Sep 26, 2023
b4175b3
Update ReadMe
huy-dai Sep 26, 2023
7a224cf
Added RSVP category
mitabreu Oct 15, 2023
66c5dfe
Adapt frontend code to use OIDC-to-SAML server
huy-dai Nov 4, 2023
32e6775
Add nginx configs, make backend URL a config option
huy-dai Nov 12, 2023
4251839
Add back authentication requirement
huy-dai Nov 12, 2023
6a767fd
Added daily-view filter functionality so that when user selects filte…
mitabreu Nov 15, 2023
03dd9bb
Added search functionality.
mitabreu Dec 3, 2023
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: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REACT_APP_BACKEND_URL=https://dormspam.herokuapp.com
REACT_APP_BACKEND_URL=https://localhost:8432
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

#Application secrets
secrets.json
secrets_bk.json
api_secrets.json
key.pem
cert.pem

# dependencies
/node_modules
/.pnp
Expand All @@ -9,6 +16,7 @@
/coverage

# production
/build_backup
/build
/server/.elasticbeanstalk
/server/build
Expand Down
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dormsp.am
dormdigest
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
## Frontend for dormsp.am

React application that gets data from dormspam/web-backend. To open:
React application that gets data from dormspam/web-backend. To open, first make sure you're running Node 18. Then do:

### `npm install`
### `npm install --legacy-peer-deps`

Run this command if loading the app for the first time, or whenever new dependencies get added to the application.
The `--legacy-peer-deps` is necessary because we still have some packages (like Materials UI) that depends on Node v16.

Run this command if loading the app for the first time, or whenever new dependencies get added to the application.
### `npm start`

Runs the app in the development mode.
Expand Down
4 changes: 4 additions & 0 deletions auth_backend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PORT=4000
SERVER_HOST="localhost" #Change to "0.0.0.0" if you're not using a reverse proxy
SSL_CRT_FILE="../cert/cert.pem"
SSL_KEY_FILE="../cert/key.pem"
2 changes: 2 additions & 0 deletions auth_backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
/build
6 changes: 6 additions & 0 deletions auth_backend/nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"watch": ["src"],
"ext": ".ts,.js",
"ignore": [],
"exec": "npx ts-node ./src/index.ts"
}
Loading