Add the logic for handling CRUD operations related to users and their accounts
E-commerce applications often have private user accounts that contain information specific to the logged in user. Users should be able to retrieve and modify this information via the API. A simple way this could be done would be via the following endpoint structure:
GET /users
GET /users/{userId}
PUT /users/{userId}
Add the logic for handling CRUD operations related to users and their accounts
E-commerce applications often have private user accounts that contain information specific to the logged in user. Users should be able to retrieve and modify this information via the API. A simple way this could be done would be via the following endpoint structure:
GET /users GET /users/{userId} PUT /users/{userId}