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

GET | /users #17

Closed
3 tasks done
ameera-abed opened this issue Oct 25, 2021 · 0 comments · Fixed by #29
Closed
3 tasks done

GET | /users #17

ameera-abed opened this issue Oct 25, 2021 · 0 comments · Fixed by #29

Comments

@ameera-abed
Copy link
Contributor

ameera-abed commented Oct 25, 2021

Description
the admin can see all the users

Files

  • Database -> Queries -> getUsersQuery.js
  • Database -> Queries -> index.js
  • Controllers -> getUsers.js
  • Controllers -> index.js
  • Routes -> index.js -> router.get();

Tasks

  • Create DB query to get the users from the database
  • Import the query in controllers from DB>QUERIES>index.js and return the data
  • Create GET Route in Routes>index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants