https://github.com/alejogonza/json-mongoser
Console application to read JSON files and upload them to MongoDB
https://github.com/alejogonza/json-mongoser
files json mongo mongodb mongoose read
Last synced: 3 months ago
JSON representation
Console application to read JSON files and upload them to MongoDB
- Host: GitHub
- URL: https://github.com/alejogonza/json-mongoser
- Owner: alejogonza
- Created: 2022-05-08T05:23:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-10T20:36:49.000Z (about 4 years ago)
- Last Synced: 2025-03-05T21:47:05.904Z (over 1 year ago)
- Topics: files, json, mongo, mongodb, mongoose, read
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/json-mongoser
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# json-mongoser

Console application to read JSON files and upload them to MongoDB
## OPTIONS
***-h***: get help
***-v***: view version
***-d***: path to JSON files directory
***-c***: url to connect mongoDB and create the collections
***-m***: directory path to add your mongoose model
## USAGE:
***set model***
```
json-mongoser -m YOUR_PATH
```
***save data***
```
json-mongoser -d YOUR_PATH -c MONGOURL_CONNECTION
```