{"id":15066676,"url":"https://github.com/hasaanahmad/nextpress-starter","last_synced_at":"2026-02-23T21:46:09.363Z","repository":{"id":257576286,"uuid":"858694196","full_name":"HasaanAhmad/NextPress-Starter","owner":"HasaanAhmad","description":"NextPress Starter is a template that offers seamless authentication using AuthJS, integrated with a PostgreSQL database via Prisma ORM. It also includes Shadcn for an elegant UI component setup, making it easy to kickstart your Next.js projects with a modern tech stack.","archived":false,"fork":false,"pushed_at":"2024-09-28T09:31:33.000Z","size":222,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T12:21:50.418Z","etag":null,"topics":["authjs","database","next-auth","nextauth","nextjs","postgresql","postgress","prisma","prisma-orm","shadcn","shadcn-ui"],"latest_commit_sha":null,"homepage":"https://nextpress-starter.vercel.app","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/HasaanAhmad.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T11:22:18.000Z","updated_at":"2025-01-12T18:23:14.000Z","dependencies_parsed_at":"2025-02-17T10:41:39.506Z","dependency_job_id":null,"html_url":"https://github.com/HasaanAhmad/NextPress-Starter","commit_stats":null,"previous_names":["hasaanahmad/nextjs-authjs-postgres-prisma-shadcn-starter-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasaanAhmad%2FNextPress-Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasaanAhmad%2FNextPress-Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasaanAhmad%2FNextPress-Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasaanAhmad%2FNextPress-Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HasaanAhmad","download_url":"https://codeload.github.com/HasaanAhmad/NextPress-Starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248226335,"owners_count":21068185,"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":["authjs","database","next-auth","nextauth","nextjs","postgresql","postgress","prisma","prisma-orm","shadcn","shadcn-ui"],"created_at":"2024-09-25T01:10:42.113Z","updated_at":"2026-02-23T21:46:08.702Z","avatar_url":"https://github.com/HasaanAhmad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Next.js 14 Starter Kit with Auth.js, PostgreSQL, Prisma, ShadCN, and TypeScript\n\nWelcome to **NextPress**, a robust starter template designed to get you up and running quickly with the latest stack, including **Next.js 14**, **Auth.js**, **PostgreSQL**, **Prisma**, **ShadCN**, and **TypeScript**. Whether you're starting a new project or looking to streamline your development process, **NextPress** has you covered with the best practices and tools. \nNote: Uncomment the Adapter for Database to use it ✨. (server/auth.ts) and Also Remove Eslint Rules from .eslintrc.json. I added those because typescript wont allow me to do unused imports (Those are for snippet codes provided in auth.ts for you ease 🥹)\n\n## 📦 What's Inside?\n\n- **Next.js 14** – The latest version of the React framework with improved features and performance.\n- **Auth.js** – Flexible authentication with multiple providers like Google, GitHub, and more.\n- **PostgreSQL** – A powerful and open-source database.\n- **Prisma** – Next-generation ORM for seamless database interaction.\n- **ShadCN** – A styling solution for modern UI components.\n- **TypeScript** – Strongly typed JavaScript for better code quality and developer experience.\n\n## 🚀 Get Started\n\n### Step 1: Clone the Repository\n\n```bash\ngit clone https://github.com/HasaanAhmad/NextPress-Starter\ncd NextPress-Starter\n```\n\n### Step 2: Install Dependencies\n\n```bash\nnpm install\n```\n\n### Step 3: Setup Environment Variables\n\nCreate your `.env` files based on the `.env.example` provided in the repository.\n\n**Example:**\n\n```bash\n# DATABASE\nDATABASE_URL='YOUR DATABASE URL'\n\n# AUTHJS\nAUTH_GOOGLE_ID='GOOGLE CLIENT ID FROM GCP CONSOLE'\nAUTH_GOOGLE_SECRET='GOOGLE SECRET ID'\nAUTH_SECRET=\"\"\n\n# Add more providers if necessary\n```\n\n### STEP 3.1(Optional): Push to DB\n```bash\nnpx prisma db push\n```\n\n### Step 4: Migrate the Database\n\n```bash\nnpx prisma migrate dev\n```\n\n### Step 5: Generate Prisma Client\n\n```bash\nnpx prisma generate\n```\n\n\n\n### Step 6: Run the Development Server\n\n```bash\nnpm run dev\n```\n\nNow, navigate to `http://localhost:3000` to see the app live.\n\n## 💻 Stack Overview: **NextAuth PrismaPress**\n\n**NextAuth PrismaPress** is your go-to solution for building full-stack applications with:\n\n- Fast and efficient **Next.js 14** routing and rendering.\n- Scalable **PostgreSQL** database.\n- Secure and customizable authentication using **Auth.js**.\n- Intuitive **Prisma ORM** for database modeling and querying.\n- Beautiful UI styling with **ShadCN** components.\n- Type-safe code with **TypeScript** integration.\n\n## 🌟 Features\n\n- 🔒 **Secure Authentication**: Pre-configured with Auth.js for easy setup of Google and other providers.\n- 📊 **Database Ready**: PostgreSQL with Prisma for smooth migrations and database operations.\n- 💅 **Customizable UI**: Use ShadCN to quickly style your components.\n- 🧩 **Modular Codebase**: Clean and structured project for scalability and maintainability.\n- 🚀 **Enhanced Folder Structure**: Folder structure with Modern Practises for Server Actions, Hooks, Providers etc.\n\n## 🎨 Live Demo\n\nCheck out the live version of **NextPress** hosted at [NextPress-Starter](https://nextpress-starter.vercel.app).\n\n## ❤️ Made with Love\n\nCrafted with ❤️ by **Hasaan Ahmad**.\n\nIf you find this template useful, feel free to star the repository, and contribute to make it even better!\n\n## 🤝 Contributing\n\nContributions are welcome! If you have any suggestions or improvements, feel free to submit a pull request.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasaanahmad%2Fnextpress-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasaanahmad%2Fnextpress-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasaanahmad%2Fnextpress-starter/lists"}