Image Upload in S3, GO + React

go install github.com/swaggo/swag/cmd/swag@latest
go get github.com/swaggo/http-swagger/v2
go get github.com/joho/godotenv
go get github.com/go-sql-driver/mysql
go get github.com/aws/aws-sdk-go
go get github.com/go-chi/cors

http://localhost:5000/swagger/index.html

Architecture

Image Upload Architecture

Screenshots

  1. Upload image input upload image input

  2. Preview the upload image preview image

  3. After uploading the image after upload image

  4. S3 bucket with uploaded image s3 bucket image