Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
PHP / Node.js / .NET / Python

Daniel Phyo pzinwai

👨‍💻
PHP / Node.js / .NET / Python
View GitHub Profile
@pzinwai
pzinwai / index.js
Last active Sep 16, 2020
Uploading files to S3 with Node.js
View index.js
const fs = require('fs');
const AWS = require('aws-sdk');
// Enter copied or downloaded access id and secret here
const ID = '';
const SECRET = '';
// Enter the name of the bucket that you have created here
const BUCKET_NAME = 'test-bucket-1248847363334';
You can’t perform that action at this time.