esalling23 / 06-file-upload-training

0 stars 3 forks source link

Connect to AWS somehow #1

Open esalling23 opened 4 years ago

esalling23 commented 4 years ago
esalling23 commented 4 years ago

We googled around and found this link: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/getting-started-nodejs.html#getting-started-nodejs-download One of the steps talked about using AWS's SDK (we now know that stands for software development kit)

Installed the npm package aws-sdk: https://www.npmjs.com/package/aws-sdk

esalling23 commented 4 years ago

Not sure if this is 100% done, but we are able to connect with the AWS SDK and log out an instance of the s3 service module:

const AWS = require('aws-sdk')
const s3 = new AWS.S3()
console.log(s3)