kiss-mongo
v1.0.3
Published
Generate seed records from json files
Downloads
3
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
.json
files where the name if the file is the collection name - Add record in your
.json
files - do
kiss seed --db="dbName" -d
where -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