You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
We need to create a set of CRUD operations for User model in our Express.js application, excluding the registration and login processes. This will allow us to manage users' data effectively.
Requirements
All routes and controllers should be properly tested
Tasks
Create User Controller Methods
Create a method for retrieving all users
Create a method for retrieving a single user by id
Create a method for updating a user's details
Create a method for deleting a user
Create User Routes
Create a route for creating a new user (POST /users)
Create a route for retrieving all users (GET /users)
Create a route for retrieving a single user (GET /users/:id)
Create a route for updating a user's details (PATCH /users/:id)
Create a route for deleting a user (DELETE /users/:id)
Testing
Write tests for all the routes and controller methods
Ensure all tests are passing
Additional Notes
Please follow the existing code style guide for consistency.
If you have any questions or need clarification, feel free to ask.
The text was updated successfully, but these errors were encountered:
Description
We need to create a set of CRUD operations for User model in our Express.js application, excluding the registration and login processes. This will allow us to manage users' data effectively.
Requirements
Tasks
Create User Controller Methods
Create User Routes
Testing
Additional Notes
The text was updated successfully, but these errors were encountered: