Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

A web based button that allows user to upload a single file to S3 when provided a properly signed URL

License

Notifications You must be signed in to change notification settings

source4societyorg/react-scepter-web-s3-button

Repository files navigation

react-scepter-web-s3-button

Web button component to select a file from your local computer and upload it to S3

scepter-logo

redux-logo

react-boilerplate

airbnb-codestyle

Build Status

codecov

Installation

Using npm

npm install -S @source4society/react-scepter-web-s3-button

Using Yarn

yarn add @source4society/react-scepter-web-s3-button

Setup

Import this container with import S3FileUploadButton from '@source4society/react-scepter-web-s3-button/lib/index then you can use it as follows:

<S3FileUploadButton signedUrl={anS3SignedUrl} name={uniqueName} id={uniqueId}>Button Text</S3FileUploadButton>

The signedUrl prop should be a signed url retrieved from the AWS S3 SDK. You can read more about it here and there is a prebuild SCEPTER service that can also help SCEPTER-S3PresignedURLService

About

A web based button that allows user to upload a single file to S3 when provided a properly signed URL

Resources

License

Stars

Watchers

Forks

Packages

No packages published