{"id":22123861,"url":"https://github.com/paranoidjk/nextjs-postgres-nextauth-tailwindcss-template","last_synced_at":"2025-03-24T07:32:30.963Z","repository":{"id":264916952,"uuid":"885604443","full_name":"paranoidjk/nextjs-postgres-nextauth-tailwindcss-template","owner":"paranoidjk","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-08T23:21:53.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T20:03:18.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/paranoidjk.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":"2024-11-08T23:21:51.000Z","updated_at":"2024-11-08T23:21:57.000Z","dependencies_parsed_at":"2024-11-27T00:03:03.333Z","dependency_job_id":null,"html_url":"https://github.com/paranoidjk/nextjs-postgres-nextauth-tailwindcss-template","commit_stats":null,"previous_names":["paranoidjk/nextjs-postgres-nextauth-tailwindcss-template"],"tags_count":0,"template":false,"template_full_name":"vercel/nextjs-postgres-nextauth-tailwindcss-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paranoidjk%2Fnextjs-postgres-nextauth-tailwindcss-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paranoidjk%2Fnextjs-postgres-nextauth-tailwindcss-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paranoidjk%2Fnextjs-postgres-nextauth-tailwindcss-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paranoidjk%2Fnextjs-postgres-nextauth-tailwindcss-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paranoidjk","download_url":"https://codeload.github.com/paranoidjk/nextjs-postgres-nextauth-tailwindcss-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245227541,"owners_count":20580896,"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":[],"created_at":"2024-12-01T15:39:54.375Z","updated_at":"2025-03-24T07:32:30.942Z","avatar_url":"https://github.com/paranoidjk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\u003cstrong\u003eNext.js 14 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparanoidjk%2Fnextjs-postgres-nextauth-tailwindcss-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparanoidjk%2Fnextjs-postgres-nextauth-tailwindcss-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparanoidjk%2Fnextjs-postgres-nextauth-tailwindcss-template/lists"}