🍃 Generate scripts to populate MongoDB with CSV and JSON files
Quickly populate MongoDB with CSV or JSON files
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
...