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

[Feature Request]: Backend Implementation for Grievance Management: #938

Closed
4 tasks done
haseebzaki-07 opened this issue Nov 9, 2024 · 2 comments
Closed
4 tasks done
Assignees

Comments

@haseebzaki-07
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

Grievance Model:

Fields: userId, grievanceType, description, status, createdAt, updatedAt.
Relationships: Links to user and optionally to rental property.
API Endpoints:

Submit Grievance (POST /api/grievances): Submits a grievance with type and description. Response includes success message and grievance ID.
Get Grievance List (Admin) (GET /api/grievances): Lists all grievances with pagination and filters. Response includes grievance metadata.
Get Grievance by ID (GET /api/grievances/{grievanceId}): Fetches details of a specific grievance.
Update Grievance Status (Admin) (PUT /api/grievances/{grievanceId}): Updates the status of a grievance. Response includes updated grievance.
Delete Grievance (Admin) (DELETE /api/grievances/{grievanceId}): Deletes a specific grievance.
Get Grievance Statistics (Admin) (GET /api/grievances/statistics): Returns statistics on grievances (open, resolved, etc.).

Use Case

Grievance addressal.

Benefits

No response

Add ScreenShots

No response

Priority

High

Record

  • I have read the Contributing Guidelines
  • I'm a GSSOC'24 contributor
  • I have starred the repository
@haseebzaki-07 haseebzaki-07 added the enhancement New feature or request label Nov 9, 2024
Copy link
Contributor

github-actions bot commented Nov 9, 2024

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

Copy link
Contributor

Hello @haseebzaki-07! Your issue #938 has been closed. Thank you for your contribution!

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

2 participants