Open mwmadsen67 opened 1 year ago
Hi Brendan, a couple notes:
Backend Routes:
GET /api/users
to get account info for one user. This should be listed as GET /api/users/:id
since it is only for one user. This also brings up a larger point that I may have glossed over in your feature list. Having a profile page where you can update your user's info is something that I would consider as a whole feature separate from user auth, so I would think about whether or not you want to implement that feature instead of another one or if you want to make it a bonus.With this I would say you're finished with your design docs! Nice job! Let me know if you have any additional questions getting started.
just kidding I forgot to look at your frontend routes
Frontend Routes:
/products/:category
and put ProductIndex
underneath. You could consider "all" to be a category as well. The reason for this is ultimately you would just be using the same component for each one and just listing different stuff./product/:productId
or /product-item/:productId
, something like that.Otherwise yeah its all good
Backend Routes
snake_case
GET likes
api endpoint because that info comes through the post showFrontend Routes
camelCase
inline coding text
(backticks)