POST /auth/login
(1)GET /api/categories
(1)
GET /api/products
(1) Retrieve all resources in a collection (e.g. All users, all items)GET /api/categories
(1) Retrieve all resources in a collection (e.g. All users, all items)GET /api/users
(1) Retrieve all resources in a collection (e.g. All users, all items)GET /api/products/{id}
(1) Retrieve a single resource by ID (e.g. Item, user, order based on unique identifier)POST /api/users
(2) Create new resource (e.g. New item, new user account)GET /api/users/me
(2) Retrieve user-specific data (e.g. User profile, user settings)PATCH /api/users/me
(2) Partially update resource details (e.g. update user profile, change multiple item details)PATCH /api/users/me/password
(2) Partially update resource details (e.g. update user profile, change multiple item details)POST /api/cart
(2) Create an association between resources (e.g. Add item to users favorites)POST /api/wishlist
(2) Create an association between resources (e.g. Add item to users favorites)GET /api/cart
(2) Retrieve associated resources (e.g. User favorites, user orders)GET /api/wishlist
(2) Retrieve associated resources (e.g. User favorites, user orders)PATCH /api/cart/{id}
(3) Update nested resource (e.g. update specific attributes of items in an order)
New view admin
added. Accessible in the dropdown menu in the top right for logged in users.
GET /api/users
(1) The new admin dashboard provides a table of all users in the database.GET /api/products
(1) The admin dashboard also provides a table of all products in the database.PATCH /api/products/{id}/name
(1) Allows updating the name of a product.PATCH /api/products/{id}/description
(1) Allows updating the description of a product.POST /api/products
(2) A button has been added to the wishlist page to add a product to a cart.DELETE /api/wishlist/{wishlistItemId}
(2) A button has been added to the wishlist page to remove a product from a wishlist.DELETE /api/cart/{cartItemId}
(2) A button has been added to the cart page to remove a product from a cart.PATCH /api/cart/{cartItemId}
(3) Buttons have been added to the cart page to increment/decrement the quantity of an item in a cartPOST /api/wishlist/addAllToCart
(3) - (Submit batch data) Button has been added to the wishlist page that adds all items in the users wishlist to the users cartDELETE /api/wishlist/clear
(3) - (Bulk delete resources) Button has been added to the wishlist page that remove all items from the users wishlistPOST /api/cart/buy
(3) - (Submit batch data) Button has been added to the cart page that 'buys' all items in the users cart