{"id":13901299,"url":"https://github.com/vercel/nextjs-postgres-nextauth-tailwindcss-template","last_synced_at":"2025-05-14T10:14:20.502Z","repository":{"id":73321038,"uuid":"565280125","full_name":"vercel/nextjs-postgres-nextauth-tailwindcss-template","owner":"vercel","description":"Admin dashboard template.","archived":false,"fork":false,"pushed_at":"2025-01-02T15:13:38.000Z","size":245,"stargazers_count":1411,"open_issues_count":5,"forks_count":484,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-04T14:16:35.594Z","etag":null,"topics":["nextjs","react","tailwindcss","vercel"],"latest_commit_sha":null,"homepage":"https://next-admin-dash.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vercel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-12T22:18:35.000Z","updated_at":"2025-04-04T10:34:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ad31c43-b63f-4c42-a0bc-bfede0979a72","html_url":"https://github.com/vercel/nextjs-postgres-nextauth-tailwindcss-template","commit_stats":{"total_commits":45,"total_committers":10,"mean_commits":4.5,"dds":"0.24444444444444446","last_synced_commit":"5fa1ff45a97a1102e37b0a797d429cca50780a04"},"previous_names":["vercel/nextjs-planetscale-nextauth-tailwindcss-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fnextjs-postgres-nextauth-tailwindcss-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fnextjs-postgres-nextauth-tailwindcss-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fnextjs-postgres-nextauth-tailwindcss-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fnextjs-postgres-nextauth-tailwindcss-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vercel","download_url":"https://codeload.github.com/vercel/nextjs-postgres-nextauth-tailwindcss-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248469125,"owners_count":21108962,"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":["nextjs","react","tailwindcss","vercel"],"created_at":"2024-08-06T21:01:09.821Z","updated_at":"2025-04-11T19:45:27.202Z","avatar_url":"https://github.com/vercel.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\u003cstrong\u003eNext.js 15 Admin Dashboard Template\u003c/strong\u003e\u003c/div\u003e\n\u003cdiv align=\"center\"\u003eBuilt with the Next.js App Router\u003c/div\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://next-admin-dash.vercel.app/\"\u003eDemo\u003c/a\u003e\n\u003cspan\u003e · \u003c/span\u003e\n\u003ca href=\"https://vercel.com/templates/next.js/admin-dashboard-tailwind-postgres-react-nextjs\"\u003eClone \u0026 Deploy\u003c/a\u003e\n\u003cspan\u003e\n\u003c/div\u003e\n\n## Overview\n\nThis is a starter template using the following stack:\n\n- Framework - [Next.js (App Router)](https://nextjs.org)\n- Language - [TypeScript](https://www.typescriptlang.org)\n- Auth - [Auth.js](https://authjs.dev)\n- Database - [Postgres](https://vercel.com/postgres)\n- Deployment - [Vercel](https://vercel.com/docs/concepts/next.js/overview)\n- Styling - [Tailwind CSS](https://tailwindcss.com)\n- Components - [Shadcn UI](https://ui.shadcn.com/)\n- Analytics - [Vercel Analytics](https://vercel.com/analytics)\n- Formatting - [Prettier](https://prettier.io)\n\nThis template uses the new Next.js App Router. This includes support for enhanced layouts, colocation of components, tests, and styles, component-level data fetching, and more.\n\n## Getting Started\n\nDuring the deployment, Vercel will prompt you to create a new Postgres database. This will add the necessary environment variables to your project.\n\nInside the Vercel Postgres dashboard, create a table based on the schema defined in this repository.\n\n```\nCREATE TYPE status AS ENUM ('active', 'inactive', 'archived');\n\nCREATE TABLE products (\n  id SERIAL PRIMARY KEY,\n  image_url TEXT NOT NULL,\n  name TEXT NOT NULL,\n  status status NOT NULL,\n  price NUMERIC(10, 2) NOT NULL,\n  stock INTEGER NOT NULL,\n  available_at TIMESTAMP NOT NULL\n);\n```\n\nThen, uncomment `app/api/seed.ts` and hit `http://localhost:3000/api/seed` to seed the database with products.\n\nNext, copy the `.env.example` file to `.env` and update the values. Follow the instructions in the `.env.example` file to set up your GitHub OAuth application.\n\n```bash\nnpm i -g vercel\nvercel link\nvercel env pull\n```\n\nFinally, run the following commands to start the development server:\n\n```\npnpm install\npnpm dev\n```\n\nYou should now be able to access the application at http://localhost:3000.\n","funding_links":[],"categories":["TypeScript","NextJS"],"sub_categories":["TailwindCSS"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel%2Fnextjs-postgres-nextauth-tailwindcss-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvercel%2Fnextjs-postgres-nextauth-tailwindcss-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel%2Fnextjs-postgres-nextauth-tailwindcss-template/lists"}