Skip to content

K1 5 create user schema and endpoints#7

Merged
kaseyliu merged 3 commits intodevelopfrom
K1-5-Create-User-Schema-and-Endpoints
Feb 1, 2026
Merged

K1 5 create user schema and endpoints#7
kaseyliu merged 3 commits intodevelopfrom
K1-5-Create-User-Schema-and-Endpoints

Conversation

@RishanBaweja
Copy link
Copy Markdown
Collaborator

@RishanBaweja RishanBaweja commented Jan 29, 2026

Developer: Rishan Baweja

Closes #7

Pull Request Summary

Fixed code to address review comments from Kasey. Also, after I got access to GitHub I needed to make a new PR for the same issue, because I am trying to merge from a fork anymore

Modifications

Slight changes, same functionality.

Testing Considerations

I tested the four API endpoints using Postman, and they worked on my end.

Pull Request Checklist

  • Code is neat, readable, and works
  • Comments are appropriate
  • The commit messages follows our guidelines
  • The developer name is specified
  • The summary is completed
  • Assign reviewers

Screenshots/Screencast

@RishanBaweja RishanBaweja requested a review from kaseyliu January 29, 2026 21:47
Copy link
Copy Markdown
Collaborator

@kaseyliu kaseyliu left a comment

Choose a reason for hiding this comment

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

Everything looks great! Tested all the endpoints in Postman on my end and they worked. Thanks for making the changes and repushing the branch!

}
return NextResponse.json(user, { status: 200 });
} catch (err: any) {
console.error("Caught an error", err);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Next time, I'd recommend leaving a more descriptive error like "Error with getting specific user" but that's minor, I'll merge it!

@kaseyliu kaseyliu merged commit 89967ef into develop Feb 1, 2026
4 checks passed
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.

2 participants