EraAdem / uploader-api

0 stars 0 forks source link

Configure the AWS SDK for Javascript #4

Open EraAdem opened 4 years ago

EraAdem commented 4 years ago

Per our research in issue #2 we found that we want to use AWS ' SDK (software development kit ) for Javascript to integrate our application with S3.

We found some examples of this setup:

var AWS = require("aws-sdk");
// set the Region
AWS.config.update({region: 'us-west-2'});

According to our setup, our region is US East (N. Virginia). found at : https://docs.aws.amazon.com/general/latest/gr/rande.html

EraAdem commented 4 years ago

Part of the above includes requiring the aws-sdk npm package. We found steps for installing that here: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/getting-started-nodejs.html#getting-started-nodejs-credentials

We are going to run npm install aws-sdk to install this package