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] : Get all user for admin role #100

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

[Backend] : Get all user for admin role #100

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

Comments

@anand-harsh
Copy link
Owner

Issue

We want that admin can get to know who all are enrolled in their course or for now, who all signup for the course

Solution

Make a endpoint that gets all the users ( name, email, role, createdAt )

Request : POST
Endpoint: /getAllUsers

Note: Add admin and isAuthenticated middleware in route

  • JWOC
@anand-harsh anand-harsh added not-assigned issue is not assigned to someone JWOC JWOC open source program medium 4 points hard 8 points backend working on backend and removed hard 8 points labels Jan 30, 2024
@Anushkabh
Copy link
Contributor

@anand-harsh i want to work under JWOC. kindly assign

@anand-harsh anand-harsh added assigned issue is assigned to someone and removed not-assigned issue is not assigned to someone labels Jan 30, 2024
@Anushkabh
Copy link
Contributor

@anand-harsh request should be GET?

@anand-harsh
Copy link
Owner Author

@anand-harsh request should be GET?

yes

@Anushkabh
Copy link
Contributor

@anand-harsh kindly review the pr #105

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 JWOC JWOC open source program medium 4 points
Projects
None yet
Development

No branches or pull requests

2 participants