Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dummy data with seed functionality for Products, Brands, Categories #137

Open
mohamedsamara opened this issue Jun 2, 2022 · 2 comments

Comments

@mohamedsamara
Copy link
Owner

  • Add the ability to run a script to populate the database with dummy ecommerce data including brands, products, categories
@buddhathemanoj
Copy link

when i try to add dummy data i am getting seed db started but, data is not being added to mongodb , what i am doing wrong ?

@Tushar260603
Copy link

Tushar260603 commented Mar 29, 2024

"data:import": "node seeder.js"

use this in scripts in package.json file in backend
and one more thing give name of ur file as "seeder.js"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants