postgresql-to-mongodb

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i postgresql-to-mongodb

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

4.21 kB

Total Files

9

Last publish

Collaborators

  • saurabh_ml