Install required node packages
$ yarn install
TODO
Only tested in OSX currently! (With homebrew
installed)
- Start minio server using the following commands:
$ yarn setup
$ yarn server
- Get
AccessKey
andSecretKey
after starting minio server, and create or update.env
based on.env.sample
- Save an image as
image.jpeg
in root folder. - Execute
upload.js
- You should see the successfully uploaded image in
./data/image12345.jpeg
- 1.0.0
- Working example for Node
Ivan Foong – @vonze21 – vonze21@gmail.com
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/ivanfoong/s3-upload-node-example
- Fork it (https://github.com/yourname/yourproject/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request