Skip to content

Creating an endpoint to get all the users present in the database and their information

Marco Tulio Ávila Cerón edited this page Dec 17, 2025 · 1 revision

creating an endpoint to get all the users present in the database and their information. This endpoint should be GET /users and should go in the users' controller. Also it should be accessible only to users who are logged in and belongs on one of the groups that are listed as admin.

Clone this wiki locally