Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 976 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 976 Bytes

svelte-kit-file-upload

Full example with a simple form, the script client-side, and the upload server-side.

The project uses these packages:
adapter-node, busboy and fs-extra.

See also the Yanick repo using multer and uppy.

There isn't a lot of CSS and form design here. Not very fun but it works!

Run the server in preview / production mode.

In preview or production mode, a polka server is used. See the src/server.mjs file.
For more information on the middleware, see the adapter doc.

With npm: npm run preview
With node: node ./src/server.mjs