Demonstrating direct upload to AWS S3 based on the full guide below made by Heroku.
Direct to S3 File Uploads in Node.js
$ git clone https://github.com/dabboxking/s3-demo.git
Service Setup
```bash $ cd imager-service ```Add a .env file in the directory with the following variables
```bash PORT=3030 S3_BUCKET=[your s3 bukcet name] AWS_ACCESS_KEY_ID=[your aws access key id] AWS_SECRET_ACCESS_KEY=[your aws secret access key] ```Running the service
```bash $ npm install $ npm run dev ```Client Setup
```bash $ cd imager-client ```Add a .env file in the directory with the following variable
```bash PORT=3000 ```Running the service
```bash $ npm install $ npm start ```Open browser to http://localhost:3000