Upload files to S3 through aws-sdk for javascript

A simple next.js project to test uploading files to S3 storage via aws-sdk for javascript v3

View this repo in GitHub
Reference post : Upload files to S3 through API Gateway
How do I upload an image or PDF file to Amazon S3 through API Gateway?
Packages & version
"dependencies": {
    "@aws-sdk/client-s3": "^3.414.0",
    "@aws-sdk/s3-request-presigner": "^3.414.0",
    "eslint": "8.40.0",
    "eslint-config-next": "13.4.1",
    "next": "13.4.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "axios": "^1.4.0"
}
Copyright 2023 - 2024, taedonn, all rights reserved.
check my GitHub @ github.com/taedonn