kiss-mongo
v1.0.3
Published
Generate seed records from json files
Readme
README
Keep It Simple Seed With Mongo. It helps you to seed records to your collection.
How do I get set up?
- Install the module
npm install -g kiss-mongo cd path/to/your/project/root- Must have a directory named
seeds - Create collection
.jsonfiles where the name if the file is the collection name - Add record in your
.jsonfiles - do
kiss seed --db="dbName" -dwhere -d means would drop the collection first
Who do I talk to?
- Repo owner or admin : [email protected]
RELEASES
1.0.3 : Supports multiple records as an array
1.0.2 : Support only one record and insert to collection
