full-stack-modal-bootcamp
repo. The database is already set up to include Items
.npm install
and npx sequelize-cli db:migrate
.require
syntax to import faker
into the seed file. import
won't work because seed files aren't modules.product
and productDescription
methods of Faker to insert 50 new records into the database using a loop. Use the bulkInsert
method like in Module 4.3: MVC./items
route again to see the filled-in data.display
CSS property. Center the modal by setting the position with margin: auto
.position: fixed
.overflow: scroll
so the user can still read all modal content.