/codotype-mongodb-scripts-generator

:leaves: Codotype generator for scripts to populate MongoDB with CSV and JSON files

Primary LanguageJavaScriptMIT LicenseMIT

codotype-mongodb-scripts-generator

🍃 Generate scripts to populate MongoDB with CSV and JSON files

Quickly populate MongoDB with CSV or JSON files

Using the MongoDB DataWorker

Install dependencies:

npm install

Run one of the following commands to populate the database from a CSV file:

npm run seed-users-csv
npm run seed-todos-csv
...

Run one of the following commands to populate the database from a JSON file:

npm run seed-users-json
npm run seed-todos-json
...