{"id":22968482,"url":"https://github.com/komzweb/nextjs-server-actions-form","last_synced_at":"2025-04-19T15:50:18.922Z","repository":{"id":196953277,"uuid":"697568189","full_name":"komzweb/nextjs-server-actions-form","owner":"komzweb","description":"Form example using Next.js (Server Actions), Vercel Postgres, and shadcn/ui","archived":false,"fork":false,"pushed_at":"2023-09-28T09:31:49.000Z","size":91,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T09:41:31.448Z","etag":null,"topics":["bun","nextjs","react","server-actions","shadcn-ui","tailwindcss","typescript","vercel-postgres"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/komzweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-28T02:26:22.000Z","updated_at":"2024-08-07T01:46:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"66a94142-f43e-4a6f-a9d6-87df5f9583b2","html_url":"https://github.com/komzweb/nextjs-server-actions-form","commit_stats":null,"previous_names":["komzweb/nextjs-server-actions-form"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komzweb%2Fnextjs-server-actions-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komzweb%2Fnextjs-server-actions-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komzweb%2Fnextjs-server-actions-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komzweb%2Fnextjs-server-actions-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/komzweb","download_url":"https://codeload.github.com/komzweb/nextjs-server-actions-form/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249730649,"owners_count":21317328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","nextjs","react","server-actions","shadcn-ui","tailwindcss","typescript","vercel-postgres"],"created_at":"2024-12-14T21:19:35.297Z","updated_at":"2025-04-19T15:50:18.904Z","avatar_url":"https://github.com/komzweb.png","language":"TypeScript","funding_links":[],"categories":["Inspirations \u0026 Examples"],"sub_categories":[],"readme":"# Next.js Server Actions Form\n\nThis example is based on [Forms with Next.js and Server Actions](https://github.com/vercel/next.js/tree/canary/examples/next-forms) published by [Next.js](https://nextjs.org/), with the following additions:\n\n- Using [shadcn/ui](https://ui.shadcn.com/)\n  - Some components\n  - Dark mode\n- Using [Tailwind CSS](https://tailwindcss.com/)\n- Implementing form reset\n\n## Run locally\n\nFirst, create `.env.local` in the root and set your [Vercel Postgres](https://vercel.com/storage/postgres) secrets to it:\n\n```\nPOSTGRES_URL=\"************\"\nPOSTGRES_PRISMA_URL=\"************\"\nPOSTGRES_URL_NON_POOLING=\"************\"\nPOSTGRES_USER=\"************\"\nPOSTGRES_HOST=\"************\"\nPOSTGRES_PASSWORD=\"************\"\nPOSTGRES_DATABASE=\"************\"\n```\n\nThen, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomzweb%2Fnextjs-server-actions-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkomzweb%2Fnextjs-server-actions-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomzweb%2Fnextjs-server-actions-form/lists"}