Nostromos / what.ecom

PERN Ecom app for Codecademy's Full Stack path.
MIT License
0 stars 0 forks source link

Set up user endpoints #27

Closed Nostromos closed 5 months ago

Nostromos commented 5 months ago

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}