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: made api standardized responses #37

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

KevinBeltran23
Copy link
Contributor

Developer: Kevin Beltran

Closes #31

Pull Request Summary

Standardized API responses for usage in API route creation

Modifications

I created src/lib/response.ts and exported two functions - a success and an error standard response

Testing Considerations

Check export conventions are done correctly and input/outputs are correct.

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

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.

Nice work!

@ktaschek ktaschek merged commit 7f733ef into develop Feb 4, 2025
4 checks passed
@ktaschek ktaschek deleted the 31-api-standardized-responses branch February 4, 2025 21:20
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 Standardized Responses
2 participants