Export File Using Node JS & Pushing to S3 Bucket
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" : "*****"
}
Checkout or Move to Project Directory & Run
npm run locally
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.