rsnext/examples/next-forms
Lee Robinson 9986e82263
examples: Update next-forms example (#60052)
- Remove `experimental_` import for `useFormStatus`
- Update all dependencies
- Move to `postgres` so it works with any Postgres provider
- Fix a TypeScript issue
- Use `next dev --turbo`
2023-12-30 11:17:14 -06:00
..
app examples: Update next-forms example (#60052) 2023-12-30 11:17:14 -06:00
.env.example examples: Update next-forms example (#60052) 2023-12-30 11:17:14 -06:00
.gitignore Add .yarn/install-state.gz to .gitignore (#56637) 2023-10-18 16:34:48 +00:00
next-env.d.ts Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
package.json examples: Update next-forms example (#60052) 2023-12-30 11:17:14 -06:00
README.md examples: Update next-forms example (#60052) 2023-12-30 11:17:14 -06:00
tsconfig.json docs: Forms and mutations (#54314) 2023-08-25 14:31:11 -05:00

Forms with Next.js and Server Actions

This example shows how you can build 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 next-forms next-forms-app
yarn create next-app --example next-forms next-forms-app
pnpm create next-app --example next-forms next-forms-app

Deploy it to the cloud with Vercel (Documentation).