Giter Site home page Giter Site logo

s3-upload's Introduction

Simple S3 Web Application to upload multiple files

license

About

This repository contains the Open Source Software to demonstrate how to build a simple WebApp to users upload files to S3.

Built With

Getting Started

First install AWS Amplify CLI npm install -g @aws-amplify/cli

Inside the project folder, initialize Amplify: amplify init

Project name example: s3-uploader-ui

Add the authentication component amplify add auth

Add the storage component amplify add storage

Select: Content (Images, audio, video, etc.)

Provide a label for this category or use the suggested one from the wizard.

Select the option create/update from the list of actions

Add the application hosting amplify hosting add

Select Amazon CloudFront and S3. Define a new unique bucket name or use the suggested one.

Now, you can build the web app (front-end)

npm install
amplify push
amplify publish

The output of the amplify publish if all the deployment was done correctly is a URL This URL is the web application URl where you can open from the browser to access your application. By default, the front-end come with the sign-up UI disabled. To enable the sign-up UI you need to change the file: App.css

Comment or remove the following block:

.amplify-tabs {
display: none;
}

After this change you need to re-run amplify publish

Prerequisites

To build this solution you must have:

  • AWS account
  • Permissions to create resources in the AWS account
  • Node.js 16.x or higher

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

s3-upload's People

Contributors

koiker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.