Grace-Shopper-E / grace-shopper

https://grace-shopper-e.onrender.com/
MIT License
0 stars 2 forks source link

seeded users and products #53

Closed alliebug closed 1 year ago

alliebug commented 1 year ago

-seeds database with 50 customers, 1 admin, and 100 products -made sure product names are unique -probably need to change the code for seeding users because user model has not been completely set up

alliebug commented 1 year ago

in line 52, why do we need the idx as part of the product name? name: faker.commerce.productName() + " " + idx,

because otherwise the product name will have repeats, but our model requires unique product names