Very silly app do all what you need to add (s3 upload) for any file type in your app
- clone the repo
- In the root folder run
yarn install
||npm install
- Run
yarn start
||npm start
- Copy
.env.example
to your local.env
file and add your private aws s3 credentials - Now your server is running in your specified port
- Navigate to
sample-image-upload/
- Run
yarn install
||npm install
- Run
yarn start
||npm start
You need to setup your s3 server(This include setup Cors and public access level) Try search how to do it, its very simple and many articles touches it out there.