Skip to content

MarwaAbuEssa/pg-json-import

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pg-json-import

pg-json-import lets you take data from a JSON file, and insert it into a table on a postgres DB

Installation an Usage

Download zip folder , extract it and run npm i.

Add JSON file in folder

open cmds.txt and Rename JSON file in each command (exisiting one is all.json) and change postgres connectionstring .

Run commands at cmds.txt in sequence.

Note : be sure table is empty before migrating data

About

Import data from a json file to a Postgres DB Table

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%