Package Exports
- postgresql-to-mongodb
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postgresql-to-mongodb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
PostgreSQL-To-MongoDB
Transfer PostgreSQL tables to MongoDB collections.
Installation
Install the dependencies and devDependencies.
$ cd PostgreSQL-To-MongoDB
$ npm install
Usage
Change config.json file to your requirments.
{
"PG_USER": "<pg_username>",
"PG_HOST": "localhost",
"PG_PASSWORD": "<pg_password>",
"PG_DATABASE": "<pg_database>",
"PG_PORT": 5432,
"MONGO_URL": "mongodb://localhost:27017",
"MONGO_DATABASE": "<mongo_database>"
}
Run command:
$ node .
License
ISC