Sign inSign up

simonkowallik/demo-node-fileupload

By simonkowallik

Updated about 1 year ago

super simple web app using node to receive multipart/form-data file uploads.

Image
0

1.3K

simonkowallik/demo-node-fileupload repository overview

demo-node-fileupload

Travis Build Status Docker Cloud Automated build Docker Cloud Build Status image information

intro

A super simple web app using node to receive multipart/form-data file uploads.

build docker image

docker build -t demo-node-fileupload .

run docker container

docker run --rm -p 8080:80 demo-node-fileupload

upload a file

using curl:

## curl -XPOST http://<containerip>:8080/upload -F [email protected]

response:

filename:file.txt, mimetype:text/plain, truncated:false, length:2, md5:50585be4e3159a71c874c590d2ba12ec

or point your browser to http://<containerip>:8080/upload

problems / ideas?

If you have any problems or ideas, let me know! Just open a github issue.

Tag summary

Content type

Image

Digest

sha256:0c956cca8

Size

56.4 MB

Last updated

about 1 year ago

docker pull simonkowallik/demo-node-fileupload