Skip to content

Full example with a simple form, upload client & server side

License

Notifications You must be signed in to change notification settings

jack-y/svelte-kit-file-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Full example with a simple form, upload client & server side

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published