Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#23 Create endpoints 4 #33

Merged
merged 6 commits into from
Jan 14, 2025
Merged

#23 Create endpoints 4 #33

merged 6 commits into from
Jan 14, 2025

Conversation

kunaidyp
Copy link

@kunaidyp kunaidyp commented Jan 4, 2025

Description

Created endpoints for the Users table

Screenshots/Media

Issues

Closes #23

Additional Notes

There was already a users.ts in the same folder where the endpoints are supposed to go that does CRUD for users based on the firebaseUid rather than id. I was running into problems as a result of this same file name in the src/app.ts because I think the TypeScript file was overshadowing the JavaScript one. To make the TypeScript and JavaScript file differentiable, I made our file name "user.js" (no "s" at the end like the TypeScript file), the route is "/users", and the router is usersRouter. Let me know if you guys need me to change this :D

@kunaidyp kunaidyp requested review from theNatePi and jessieh9 January 4, 2025 03:06
@theNatePi
Copy link
Collaborator

theNatePi commented Jan 9, 2025

Thank you for working around the issues of the users file!

Todo for TLs:
Fix users file

Copy link
Collaborator

@theNatePi theNatePi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For TLs: Fix users endpoint

@kunaidyp kunaidyp requested a review from theNatePi January 13, 2025 05:58
@theNatePi theNatePi merged commit 2ecf0b3 into main Jan 14, 2025
1 check passed
@theNatePi theNatePi deleted the create_endpoints4 branch January 14, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create endpoints 4
2 participants