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

BACKEND: Validate Backend Endpoint Behavior #123

Open
BigBen-7 opened this issue Feb 24, 2025 · 3 comments
Open

BACKEND: Validate Backend Endpoint Behavior #123

BigBen-7 opened this issue Feb 24, 2025 · 3 comments

Comments

@BigBen-7
Copy link
Collaborator

Description

We need to verify that all backend endpoints function as intended, ensuring they return the correct responses, handle errors properly, and align with expected business logic. This will help maintain reliability and consistency across the system.

Tasks

  1. Review all available endpoints in the backend.
  2. Send requests with valid and invalid data to check responses.
  3. Ensure error handling is properly implemented for edge cases.
  4. Confirm that authentication and authorization mechanisms work as expected.
  5. Document any unexpected behaviors or inconsistencies.

Expected Outcome

  • All endpoints should respond with the correct status codes and data structures.
  • Errors should be handled gracefully with meaningful messages.
  • Any discrepancies should be identified and documented for further review.

Tech Stack

  • Backend: NestJS
  • Database: PostgreSQL
  • Authentication: JWT/AuthGuard
@ryzen-xp
Copy link

**Solution **

  • Review and test all backend endpoints for correctness.
  • Validate responses with valid/invalid data.
  • Ensure proper error handling and security checks.
  • Document any inconsistencies or unexpected behaviors.
  • ETA: ~16-24 hours

@pragmaticAweds
Copy link

Can I handle this task?

@Hassan-oladipupo
Copy link
Contributor

@BigBen-7
Hi, I'm Hassan Oladipupo, a backend developer with experience in NestJS, PostgreSQL, JWT, and RBAC. I'd love to work on this issue.

Plan:
Review all available backend endpoints and test with valid/invalid data.
Verify error handling for edge cases (400, 403, 404, 500).
Ensure authentication and authorization mechanisms work as expected.
Validate responses to match expected status codes and data structures.
Document any inconsistencies and suggest improvements.
Write unit tests to cover critical scenarios.
ETA: 14 hours. Let me know if I can proceed!

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants