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

feat: Get events by userId and documents by Eventid #69

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

bri8679
Copy link

@bri8679 bri8679 commented Mar 2, 2025

Developer: Briana Kirkman

Closes #49

Pull Request Summary

Can now get events by a user id and get a documents attached to an event by eventid

Modifications

src/app/api/event/user_id/[id]/route.ts: gets all events attached to a user
src/app/api/document/event_id/[id]/route.ts: gets all documents attached to an event

Testing Considerations

Tested with broswer requests on localhost

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

{put screenshots of your change, or even better a screencast displaying the functionality}

Copy link
Collaborator

@ktaschek ktaschek left a comment

Choose a reason for hiding this comment

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

Great work!

@ktaschek ktaschek merged commit 426e6ba into develop Mar 3, 2025
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.

API Document and Event Routes 3
2 participants