Skip to content

KamalKant-Tech/NodeJSFileExport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJSFileExport

Export File Using Node JS & Pushing to S3 Bucket

Installation

Use the npm package manager to install.

npm install

Create .env file and add following details into it.

AWS_ACCESS_KEY='**********'
AWS_SECRET_ACCESS_KEY='**********'
BUCKET_NAME='**********'
QUERY='**********'

You Should have one more file called db.json which contains your DB connection

{
    "host" : "*****",
    "user" :"*****",
    "password" :"*****",
    "database" : "*****"
}

Usage

Checkout or Move to Project Directory & Run 

npm run locally

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Releases

No releases published

Packages

No packages published