https://github.com/emapeire/next-forms
Forms with Next.js and Server Actions
https://github.com/emapeire/next-forms
nextjs react server-actions ssr
Last synced: 23 days ago
JSON representation
Forms with Next.js and Server Actions
- Host: GitHub
- URL: https://github.com/emapeire/next-forms
- Owner: emapeire
- License: mit
- Created: 2023-10-17T16:29:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T17:02:25.000Z (3 months ago)
- Last Synced: 2025-03-26T17:45:27.176Z (3 months ago)
- Topics: nextjs, react, server-actions, ssr
- Language: TypeScript
- Homepage: https://emapeire-next-forms.vercel.app
- Size: 238 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Forms with Next.js and Server Actions
This example shows how you can build forms with Next.js and Server Actions.
## Deploy your own
[](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/next-forms&project-name=next-forms&repository-name=next-forms)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
```bash
npx create-next-app --example next-forms next-forms-app
``````bash
yarn create next-app --example next-forms next-forms-app
``````bash
pnpm create next-app --example next-forms next-forms-app
```Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).