Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Next.js AWS S3 image upload simple example (with presigned url)

Notifications You must be signed in to change notification settings

kimfame/next-s3

Repository files navigation

Next.js 14 - AWS S3 Image Upload Example

This is a Next.js project bootstrapped with create-next-app.

Create .env.local file

AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET_NAME=
AWS_S3_ACL=
AWS_S3_SIGNED_URL_EXPIRE_TIME=

Getting Started

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

About

Next.js AWS S3 image upload simple example (with presigned url)

Topics

Resources

Stars

Watchers

Forks