{"id":30584136,"url":"https://github.com/Dinuda/next.js-14-postgres-prisma-shadcn-template","last_synced_at":"2025-08-29T09:03:06.954Z","repository":{"id":208954255,"uuid":"722838148","full_name":"Dinuda/next.js-14-postgres-prisma-shadcn-template","owner":"Dinuda","description":"This is a Next.js starter kit that uses NextAuth, Prisma as the ORM, Postgres databas, Shadcn for UI components, and Tailwind CSS for styling.","archived":false,"fork":false,"pushed_at":"2024-01-12T19:28:10.000Z","size":1009,"stargazers_count":25,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T21:48:03.505Z","etag":null,"topics":["next","nextjs14","nextjs14-starter","prisma","server-side","shadcn","shadcn-ui","typescript"],"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/Dinuda.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-11-24T04:26:51.000Z","updated_at":"2024-04-12T03:29:43.000Z","dependencies_parsed_at":"2023-11-29T08:48:39.113Z","dependency_job_id":null,"html_url":"https://github.com/Dinuda/next.js-14-postgres-prisma-shadcn-template","commit_stats":null,"previous_names":["dinuda/next.js-14-template","dinuda/next.js-14-postgres-prisma-shadcn-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Dinuda/next.js-14-postgres-prisma-shadcn-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dinuda%2Fnext.js-14-postgres-prisma-shadcn-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dinuda%2Fnext.js-14-postgres-prisma-shadcn-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dinuda%2Fnext.js-14-postgres-prisma-shadcn-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dinuda%2Fnext.js-14-postgres-prisma-shadcn-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dinuda","download_url":"https://codeload.github.com/Dinuda/next.js-14-postgres-prisma-shadcn-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dinuda%2Fnext.js-14-postgres-prisma-shadcn-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272658784,"owners_count":24971604,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["next","nextjs14","nextjs14-starter","prisma","server-side","shadcn","shadcn-ui","typescript"],"created_at":"2025-08-29T09:03:04.561Z","updated_at":"2025-08-29T09:03:06.943Z","avatar_url":"https://github.com/Dinuda.png","language":"TypeScript","funding_links":[],"categories":["Boilerplates \u0026 Starters"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca\u003e\n    \u003cimg src=\"./public/logo.png\" height=\"96\"\u003e\n    \u003ch3 align=\"center\"\u003eNext.js Prisma PostgreSQL Auth Starter with Shadcn\u003c/h3\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nThis is a \u003ca href=\"https://nextjs.org/\"\u003eNext.js\u003c/a\u003e starter kit that uses \u003ca href=\"https://next-auth.js.org/\"\u003eNext-Auth\u003c/a\u003e for simple email + password login\u003cbr/\u003e\n\u003ca href=\"https://www.prisma.io/\"\u003ePrisma\u003c/a\u003e as the ORM, and Postgres database to persist the data. This application uses \u003ca href=\"https://ui.shadcn.com/\"\u003eShadcn\u003c/a\u003e for UI components, and \u003ca href=\"https://tailwindcss.com/\"\u003eTailwind CSS\u003c/a\u003e for styling. It has integrated theming support, with support for multiple themes with a custom plugin.\n\n\u003cbr/\u003e\n\n## Configure the Database\n\n- create a `.env` file in the root of the project\n\n```\n# Create a Postgres database\nPOSTGRES_PRISMA_URL=\nPOSTGRES_URL_NON_POOLING=\n\n# Generate one with this command: openssl rand -base64 32\nNEXTAUTH_SECRET=\n```\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Theming with Shadcn\n\nThis starter kit uses Shadcn for UI components, and Tailwind CSS for styling. It has integrated theming support, with support for multiple themes with a custom plugin.\n\n### Creating a Theme\n\nTo create a theme, add to `lib/shadcn-plugin.ts`:\n\n```ts\n\n - add colors to `:root` object\n  `\n     \"--brown-dark-1\": \"355 45% 31%\",\n        \"--magenta-dark-1\": \"200 55% 37%\",\n        \"--purple-dark-1\": \"261 51% 51%\",\n        \"--dark-green-1\": \"145 58% 55%\",\n\n\n - configure the `theme` object\n\n    \"dark-1\": \"hsl(var(--brown-dark-1))\",\n    \"dark-2\": \"hsl(var(--magenta-dark-1))\",\n    \"dark-3\": \"hsl(var(--purple-dark-1))\",\n    \"dark-4\": \"hsl(var(--dark-green-1))\",\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDinuda%2Fnext.js-14-postgres-prisma-shadcn-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDinuda%2Fnext.js-14-postgres-prisma-shadcn-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDinuda%2Fnext.js-14-postgres-prisma-shadcn-template/lists"}