135
rated 0 times
[
139]
[
4]
/ answers: 1 / hits: 18450
/ 7 Years ago, thu, june 8, 2017, 12:00:00
I need to seed data into the database in my application. What is the best way to do that? Where should I write the code for seeding the data? what should be the folder structure for this?
I am a rails developer and rails framework has a nice way of seeding the data in seeds.rb
, and I want to achieve the same thing in my node.js application.
Since I am new to node.js, I am confused between different available resources on the web.
More From » node.js