rbkeyes / craft-but-not-least

An application for craft enthusiasts to trade or sell unused/unwanted supplies.
MIT License
2 stars 0 forks source link

Feature/product with user #54

Closed rbkeyes closed 1 year ago

rbkeyes commented 1 year ago

user id adds to product upon form submission.

Also started adding withAuth to some routes.

NOTE I've been changing the req.session.user_id and .logged_in to .userId and .loggedIn. I also have been updating the model Keys to not use underscore since that helped me figure out the form. In retrospect I'm realizing that probably wasn't necessary, I can go through and change it back if it's causing conflicts for folks