a2jensen / CSE-110-TritonMates

0 stars 0 forks source link

Refactored #32

Closed a2jensen closed 1 week ago

a2jensen commented 2 weeks ago

root directory -> moved types.ts into root directory.

app folder: -> removed shop folder and calendar folder since in our current plans we don't have those in our app -> for events page, i refactored from /events/page.tsx to /events/[eventsId]/page.tsx. this will now consider routing to an events page for a unique room -> also for events page, i added in refactoring comments(i think we can cut eventsManager) -> for users page, i refactored from /users/page.tsx to /users/[userId]/page.tsx. this will consider routing to a user page for a unique room -> added in API folder, this will house all the functions that make calls to our database for specific information, so like whenever a component needs information from the backend they will simply call the function they need from the api folder -> added in Firebase folder, this will house all important files for backend(connecting to it, functions that handle google auth, and possibly more)

component folder: -> added in comments to the components in the events folder about possible refactoring -> added in rooms folder with skeleton components (comments regarding logic can be found there) -> added in tasks folder with skeleton components (comments regarding logic can be found there)