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

No Route to Retrieve All Invites #1310

Open
OchigboDaniel opened this issue Feb 28, 2025 · 2 comments
Open

No Route to Retrieve All Invites #1310

OchigboDaniel opened this issue Feb 28, 2025 · 2 comments

Comments

@OchigboDaniel
Copy link

Description

Currently, there is no implementation for route that allows admins to retrieve all list of created invites in the system. This functionality is necessary for admins to view all created invites .

Acceptance Criteria

  1. Data Retrieval
    The route fetches all invites from the database.

  2. Successful API Response
    A 200 OK response is returned with a list of invites in JSON format.

Purpose

The purpose of this functionality is to enable admins to retrieve and view a comprehensive list of all created invites within the system, ensuring better oversight and management of invitations.

Requirements

  • Store invites in PostgreSQL Database.
  • Define a GET /invites endpoint to fetch all invites.
  • Return JSON responses, including invite details or an empty list if none exist.
  • Handle errors properly

Expected Outcome

{
"status": "string",
"status_code": number,
"message": "string",
"data": {}
}

@OchigboDaniel
Copy link
Author

Created an issue to get list of invites

@OchigboDaniel OchigboDaniel changed the title [FEAT] [FEAT] No Route to Retrieve All Invites Feb 28, 2025
@TheCodeGhinux
Copy link
Contributor

Can you write a proper title?

@OchigboDaniel OchigboDaniel changed the title [FEAT] No Route to Retrieve All Invites No Route to Retrieve All Invites Mar 1, 2025
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

3 participants