View Code? Open in Web Editor
NEW
Nothing much, Import the exported CSV file (from parse-dashboard) to your local db.
parsedashboardcsvimportermongo's Introduction
- For those who uses Parse Server platform
- If you want to copy a database, whole structure. Rather using this, use dumping and restoring.
- This module is for import CSV exported collection file from parse-dashboard to your local mongo db.
- Fixing columns.
(objectId -> _id || createdAt -> _created_at || updatedAt -> _updated_at || pointer columns || number || boolean || object || array || ACL -> _acl )
- Run your local parse-server
- Create .env file with Parse-Server's app-id, masterkey, JAVASCRIPT_KEY
- Place your collection's csv file into directory: "EXPORTED_DATAS" that you exported from parse-dashboard.
- Run command "npm start".
- Select DB
- Type collection name (or type nothing it uses file name as collection name with out extension);
parsedashboardcsvimportermongo's People
Contributors
Watchers