Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Image Uploader

A simple and professional web application for uploading images to AWS S3 with a clean user interface. Supports drag-and-drop, image preview, and easy URL access.


Features

  • Upload images directly to AWS S3
  • Drag-and-drop and file input support
  • Image preview before upload
  • Upload progress bar
  • Copyable image URL after upload
  • Easy deployment via Vercel

Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js, Express.js, Multer, Multer-S3
  • Cloud Storage: AWS S3
  • Deployment: Vercel

Prerequisites

  • Node.js (v16 or above)
  • AWS account with S3 bucket configured
  • Vercel account (for deployment)

Setup Instructions

  1. Clone the repository

    git clone https://github.com/subratkb02/subratkb02-cloud_image_uploader.git
    cd subratkb02-cloud_image_uploader
    
  2. Install dependencies

    npm install
  3. Create a .env file

    PORT=3000
    AWS_ACCESS_KEY_ID=your_access_key_id
    AWS_SECRET_ACCESS_KEY=your_secret_access_key
    AWS_REGION=your_region
    AWS_S3_BUCKET=your_bucket_name
  4. Start the server

    npm start

    For development with auto-reload:

    npm run dev

Deployment

  • Use the provided vercel.json for deployment.
  • Set environment variables in the Vercel dashboard.
  • Alternatively, deploy on any platform supporting Node.js.

Usage

  1. Open the app in your browser (default: http://localhost:3000)
  2. Select or drag-and-drop an image
  3. Preview and upload
  4. Copy the generated S3 URL

License

This project is licensed under the ISC License.


Contributing

Contributions are welcome. Please fork the repository, create a new branch, and submit a pull request.


Developed by Subrat Kumar Behera

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages