rsnext/examples/server-actions-upload
2023-11-17 22:15:59 +00:00
..
app feat(examples): add upload file example with Server Actions (#58467) 2023-11-17 22:15:59 +00:00
.gitignore feat(examples): add upload file example with Server Actions (#58467) 2023-11-17 22:15:59 +00:00
next.config.js feat(examples): add upload file example with Server Actions (#58467) 2023-11-17 22:15:59 +00:00
package.json feat(examples): add upload file example with Server Actions (#58467) 2023-11-17 22:15:59 +00:00
README.md feat(examples): add upload file example with Server Actions (#58467) 2023-11-17 22:15:59 +00:00
tsconfig.json feat(examples): add upload file example with Server Actions (#58467) 2023-11-17 22:15:59 +00:00

Upload file with Next.js and Server Actions

This example shows how you can build upload forms with Next.js and Server Actions.

Deploy your own

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example server-actions-upload next-upload-app
yarn create next-app --example server-actions-upload next-upload-app
pnpm create next-app --example server-actions-upload next-upload-app

Deploy it to the cloud with Vercel (Documentation).