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 : Delete any user (Admin Controller) #46

Closed
1 task done
anand-harsh opened this issue Jan 15, 2024 · 4 comments
Closed
1 task done

Backend : Delete any user (Admin Controller) #46

anand-harsh opened this issue Jan 15, 2024 · 4 comments
Assignees
Labels
assigned issue is assigned to someone backend working on backend feature new feature to be added JWOC JWOC open source program medium 4 points

Comments

@anand-harsh
Copy link
Owner

Issue:

If the user cancel subscription or admin want to remove the user then we need to delete the user from our db (access to premium courses)

Solution:

  1. Make a component "deleteUser" where you will be getting the id for that course by params ( /course/:id )
  2. After successful deletion , return "User deleted successfully " with status code 200.
  3. Handle Errors and edge cases properly.

Request : DELETE
Route: /admin/users/:id

  • JWOC
@anand-harsh anand-harsh added not-assigned issue is not assigned to someone JWOC JWOC open source program medium 4 points feature new feature to be added backend working on backend labels Jan 15, 2024
@Divyanshgarg-04
Copy link
Contributor

@anand-harsh I would love to work on this issue under JWOC'24. Please assign this to me

@anand-harsh
Copy link
Owner Author

@anand-harsh I would love to work on this issue under JWOC'24. Please assign this to me

I can assign only 1 issue at once, check out the contribution rules at #31

@Divyanshgarg-04
Copy link
Contributor

@anand-harsh Can you please assign this issue to me under JWOC'24 now

@anand-harsh
Copy link
Owner Author

@anand-harsh Can you please assign this issue to me under JWOC'24 now

You can get new issue assigned once your old PR get merged

@anand-harsh anand-harsh added assigned issue is assigned to someone and removed not-assigned issue is not assigned to someone labels Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned issue is assigned to someone backend working on backend feature new feature to be added JWOC JWOC open source program medium 4 points
Projects
None yet
Development

No branches or pull requests

2 participants