rename cart to cartItems
modify get method
modify post method
modify delete method
modify delete :id
modify put method
format the code
format categories.js
add initCategoties
modify post method
rename items to products
format products.js
add initProducts
modify post method
modify initCategories
add file payment.js
add post method
add use payment
remove delete method
modify post