ljlm0402 / typescript-express-starter

📘 Quick and Easy TypeScript Express Starter
http://npm.im/typescript-express-starter
MIT License
2.71k stars 419 forks source link

feat: call seeder #201

Closed yasinpalizban closed 1 year ago

yasinpalizban commented 1 year ago

Hi i add new feature to sequelize scaffolding which can be apply to other scaffolding too . (i ddi it for mongoose scaffolding) this feature help user to create seed for datatbase. all we have to todo npm run seeder --seed=../seeders/user.seeder.ts that's all

attention: in order to seeder work perfectly out of box you need import exact path file and avoid using aliases path