First, run the following command for Prisma:
npm run migrate
Then run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
Blog post: Server Actions in Next.js: Enhancing User Experience with Optimistic Updates