This example uses Next.js App Router and experimental serverActions — read more
- Run
npx degit grafbase/grafbase/examples/nextjs-server-actions grafbase-with-nextjs-server-actionsto clone this example - Change directory into the new folder
cd grafbase-with-nextjs-server-actions - Run
npx grafbase dev - Run
npm installto install dependencies - In another terminal, run
npm run devand visithttp://localhost:3000