An open API service indexing awesome lists of open source software.

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

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

[![Deploy with Vercel](https://vercel.com/button)](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)).