Alpha-Quad-Squad / GraceShopper

ecommerce website
MIT License
0 stars 0 forks source link

Fix cart reducer #58

Closed EAHYoder closed 2 years ago

EAHYoder commented 2 years ago

Now cart can be accessed and edited for both logged in user and guest user.
Created back end routes for cart. Updated front end thunks to be compatible with backend cart routes.
Updated auth reducer to call some cart thunks when a user logs in.
Put front end cart in local storage so it persists for guest user between refreshes.