area1707/grace-shopper

React Component - User Profile

Opened this issue · 4 comments

Story: User should be able to view account details(Name, email, shipping address) as well as order history.

Implementation: Modify reducers/users to include a new thunk fetchSingleUser. Pull user information from reducer and display. Currently we have not implemented orders so just create a table with the following columns: orderid and status

modify reducers/users to include a new thunk fetchSingleUser

modify server/api/users to include GET '/api/users/:userId'

add route to main.jsx

Can view user data
Blocker: need to complete order component in order to render order history