Skip to content

andre2l2/upload-file-example

Repository files navigation

Upload File Example

🎨 About

This is a project for help me. How I upload file with FileReader api, and this help you this too.

🚀 How to run?

Has two ways run this project, one with docker and two with node local.

Run with docker

docker build -t file-example .

Run with local node

Step one

npm install

Step two

npm run start:dev

Step three

Open index.html file into the public > index.html and send a file

How to build this project?

If you want build this poject you can run:

npm run build

After you build, was created a dist directory, and you can run with node.js.