Skip to content
nextjsstarter
Database · 83 starters

Next.js PostgreSQL starters and boilerplates

Every Next.js starter, boilerplate and template in this directory that uses PostgreSQL (open-source relational database). Detected from each repo's package.json or the vendor's feature list.
Quick answer

What is the best Next.js PostgreSQL starter?

The most popular free one is Chatbot (21k GitHub stars), followed by Next.js Boilerplate (Ixartz, free) and Morphic. Paid kits with PostgreSQL: MakerKit ($349 one-time), AnotherWrapper ($249 one-time) and CozyCommerce ($99 one-time).

Top 10 Next.js PostgreSQL starters

  1. Chatbot

    Free 21k

    A full-featured, hackable Next.js AI chatbot built by Vercel

    Chatbot is a free, open-source Next.js starter for AI apps published by vercel on GitHub. A full-featured, hackable Next.js AI chatbot built by Vercel. It is built with Vercel AI SDK, Playwright, Tailwind CSS, Drizzle ORM, Motion (Framer Motion) and Auth.js (NextAuth) in TypeScript.

    Type
    Starter
    License
    Not stated
    Last commit
    Nov 2026
  2. Free open-source Next.js boilerplate with auth, database, i18n and testing

    Ixartz's free, MIT-licensed Next.js boilerplate with App Router support, Tailwind CSS 4, TypeScript, Drizzle, authentication, i18n, forms, testing and monitoring. Paid Pro and Multi-Tenant editions are sold separately.

    Type
    Boilerplate
    License
    MIT
    Last commit
    Dec 2026
    Pricing
    MIT license; paid Pro editions listed separately
  3. Morphic

    Free · Apache-2.0 9.4k

    An AI-powered search engine with a generative UI

    Morphic is a free, open-source Next.js starter for AI apps published by miurla on GitHub. An AI-powered search engine with a generative UI. It is built with Vercel AI SDK, Supabase, Tailwind CSS, Better Auth, Drizzle ORM and PostgreSQL in TypeScript.

    Type
    Starter
    License
    Apache-2.0
    Last commit
    Nov 2026
  4. Next MDX Blog

    Free 7.6k

    Next.js + MDX blog template with Tailwind CSS and TypeScript

    Next MDX Blog is a free, open-source Next.js template for blogs published by leerob on GitHub. Next.js + MDX blog template with Tailwind CSS and TypeScript. It is built with MDX, Tailwind CSS, Motion (Framer Motion) and PostgreSQL in TypeScript.

    Type
    Template
    License
    Not stated
    Last commit
    Nov 2026
  5. SaaS Boilerplate built with Next.js + Tailwind CSS + Shadcn UI + TypeScript. ️ Full-stack React…

    SaaS Boilerplate is a free, open-source Next.js boilerplate for SaaS apps and landing pages published by ixartz on GitHub. SaaS Boilerplate built with Next.js + Tailwind CSS + Shadcn UI + TypeScript. ️ Full-stack React application with Auth, Multi-tenancy, Roles & Permissions, i18n, Landing Page, DB, Logging, Testing. It is built with Clerk, Playwright, Storybook, Tailwind CSS, Drizzle ORM and i18n in TypeScript.

    Type
    Boilerplate
    License
    MIT
    Last commit
    Dec 2026
  6. NextFaster

    Free · MIT 4.9k

    A highly performant e-commerce template using Next.js

    NextFaster is a free, open-source Next.js template for ecommerce stores and AI apps published by ethanniser on GitHub. A highly performant e-commerce template using Next.js. It is built with Vercel AI SDK, PostgreSQL, Drizzle ORM, OpenAI, Tailwind CSS and shadcn/ui in TypeScript.

    Type
    Template
    License
    MIT
    Last commit
    Nov 2026
  7. Open-source Next.js SaaS starter with roles, orgs, admin panel and Stripe

    An open-source SaaS starter with user roles, organizations and an admin panel. Built with Next.js 16, Better Auth, Drizzle, Neon Postgres, Fumadocs, shadcn/ui, Stripe and Server Actions. MIT-licensed.

    Type
    Boilerplate
    License
    MIT
    Last commit
    Sep 2026
    Pricing
    MIT license
  8. Official Next.js SaaS starter with Postgres, Stripe and shadcn/ui

    The Next.js team's open-source SaaS starter template using Postgres, Stripe and shadcn/ui. It provides a minimal base for subscription apps. MIT-licensed.

    Type
    Boilerplate
    License
    MIT
    Last commit
    Dec 2025
    Pricing
    MIT license
  9. ShipFree

    Free · MIT 1.7k

    Open Source Next.js Saas Boilerplate

    ShipFree is a free, open-source Next.js boilerplate for SaaS apps published by revokslab on GitHub. Open Source Next.js Saas Boilerplate. It is built with Lemon Squeezy, Polar, Tailwind CSS, TanStack Query, Better Auth and Drizzle ORM in TypeScript.

    Type
    Boilerplate
    License
    MIT
    Last commit
    Oct 2026
  10. Build your own generative UI chatbot using the Vercel AI SDK and Google Gemini

    Gemini Chatbot is a free, open-source Next.js starter for AI apps published by vercel-labs on GitHub. Build your own generative UI chatbot using the Vercel AI SDK and Google Gemini. It is built with Vercel AI SDK, PostgreSQL, Drizzle ORM, Motion (Framer Motion), Auth.js (NextAuth) and Tailwind CSS in TypeScript.

    Type
    Starter
    License
    Not stated
    Last commit
    Oct 2026

All 83 starters with PostgreSQL

#StarterPriceGitHubLast commitStack
1ChatbotA full-featured, hackable Next.js AI chatbot built by VercelFree 21kNov 2026
Vercel AI SDKPlaywrightTailwind CSSDrizzle ORM
2Next.js Boilerplate (Ixartz, free)Free open-source Next.js boilerplate with auth, database, i18n and testingFree · MIT 13kDec 2026
Tailwind CSSDrizzle ORMi18nClerk
3MorphicAn AI-powered search engine with a generative UIFree · Apache-2.0 9.4kNov 2026
Vercel AI SDKSupabaseTailwind CSSBetter Auth
4Next MDX BlogNext.js + MDX blog template with Tailwind CSS and TypeScriptFree 7.6kNov 2026
MDXTailwind CSSMotion (Framer Motion)PostgreSQL
5SaaS Boilerplate (ixartz)SaaS Boilerplate built with Next.js + Tailwind CSS + Shadcn UI + TypeScript. ️ Full-stack React…Free · MIT 7.5kDec 2026
ClerkPlaywrightStorybookTailwind CSS
6NextFasterA highly performant e-commerce template using Next.jsFree · MIT 4.9kNov 2026
Vercel AI SDKPostgreSQLDrizzle ORMOpenAI
7Next SaaS Stripe StarterOpen-source Next.js SaaS starter with roles, orgs, admin panel and StripeFree · MIT 3kSep 2026
Better AuthDrizzle ORMPostgreSQLshadcn/ui
8Next.js SaaS Starter (official)Official Next.js SaaS starter with Postgres, Stripe and shadcn/uiFree · MIT 16kDec 2025
PostgreSQLStripeshadcn/uiTailwind CSS
9ShipFreeOpen Source Next.js Saas BoilerplateFree · MIT 1.7kOct 2026
Lemon SqueezyPolarTailwind CSSTanStack Query
10Gemini ChatbotBuild your own generative UI chatbot using the Vercel AI SDK and Google GeminiFree 1.4kOct 2026
Vercel AI SDKPostgreSQLDrizzle ORMMotion (Framer Motion)
11Next Starter (Skolaczk)A Next.js starter template, packed with features like TypeScript, Tailwind CSS, Next-auth, Biome, Stripe,…Free · MIT 1kNov 2026
PostgreSQLPlaywrightStripeTailwind CSS
12Velobase HarnessAll AI developers deserve to get paid. Turn your AI prototype into a paid SaaS with open-source…Free · MIT 625Dec 2026
Vercel AI SDKPrismaStripeTailwind CSS
13Next.js Starter Kit (michaelshimeles)The Ulimate Nextjs Starter Kit. Build your next SAAS product of your dreams. Batteries includedFree 3kDec 2025
Vercel AI SDKPostgreSQLPolarTailwind CSS
14Next.js Starter MedusaA performant frontend ecommerce starter template with Next.jsFree · MIT 2.8kApr 2026
StripePostgreSQLTailwind CSS
15Next NestNext.js + NestJS MVC monolith for rapid development with battle-tested standardsFree 519Nov 2026
PlaywrightPostgreSQLVitest
16Shopify Next.js Prisma AppAn embedded Shopify app starter template made with Next.js and Prisma ORM, with all the required stuff…Free · MIT 517Nov 2026
PrismaPostgreSQL
17Examples Next Prisma Websockets StarterTRPC Next.js WebSocket StarterFree 480Nov 2026
PlaywrightPrismaTailwind CSSTanStack Query
18MakerKitB2B Next.js SaaS starter kits with multi-tenancy, billing and AI agent rulesFree + Pro $349 one-time 468Oct 2026
Tailwind CSSshadcn/uiSupabaseDrizzle ORM
19HikariOPEN SOURCE: Next.js 16 starter with updated Supabase API keys, authentication, protected pages, Stripe…Free 389Oct 2026
PlaywrightSupabaseTailwind CSSTanStack Query
20AnotherWrapperNext.js AI SaaS starter kit with 8 demo AI apps and multiple payment providers$249 one-timePrivate—
Tailwind CSSshadcn/uiBetter AuthDrizzle ORM
21CozyCommerceFull-stack Next.js eCommerce boilerplate with a built-in CMSFree + Pro $99 one-timePrivate—
Tailwind CSSStripeAuth.js (NextAuth)PostgreSQL
22Gravity (Next.js)Next.js version of the Gravity SaaS boilerplate with auth, Stripe and admin$199 one-timePrivate—
shadcn/uiStripePostgreSQLMongoDB
23HyperSaaSDjango + Next.js SaaS boilerplate with multi-tenancy and AI agents$249 one-timePrivate—
StripePostgreSQL
24LaunchFastSaaS starter kits for Next.js, Astro and SvelteKit with swappable providers$49 one-timePrivate—
StripeSupabaseMongoDBPostgreSQL
25Next.js Boilerplate Pro (Ixartz)Paid SaaS edition of the open-source Ixartz Next.js BoilerplateFree + Pro $399 one-timePrivate—
Tailwind CSSshadcn/uiClerkBetter Auth
26Nextless.jsServerless Next.js SaaS boilerplate on AWS with auth, payments and teams$699 one-timePrivate—
Tailwind CSSStripePostgreSQLMongoDB
27NextyNext.js 16 SaaS boilerplate with auth, Stripe, AI, i18n and CMS$299 one-timePrivate—
Tailwind CSSshadcn/uiBetter AuthDrizzle ORM
28SaaS.js (Saas UI) Next.js starter kitSaaS starter kits for Next.js and TanStack Start from the Saas UI team$200 one-timePrivate—
Better AuthDrizzle ORMPostgreSQLtRPC
29ShipkitNext.js starter with auth, payments, database, CMS, AI and 100+ componentsFree + Pro $74.99 one-timePrivate—
shadcn/uiBetter AuthDrizzle ORMPostgreSQL
30ShipSaaSNext.js and Cloudflare SaaS foundation with auth, billing and AI usage$119 one-timePrivate—
Tailwind CSSshadcn/uiBetter AuthDrizzle ORM
31StarterKitProNext.js starter kit with auth, payments, analytics and dashboards$99 one-timePrivate—
Tailwind CSSshadcn/uiStripeLemon Squeezy
32TurboStarterMonorepo starter for Next.js web, Expo mobile and WXT browser extensions$244 one-timePrivate—
TurborepoStripeLemon SqueezyPolar
33VibeReadyAI-native Next.js SaaS starter kit with an AI coding framework$149 one-timePrivate—
Tailwind CSSshadcn/uiClerkStripe
34Zero To ShippedNext.js + Expo SaaS boilerplate for web and native mobile apps$199 one-timePrivate—
Tailwind CSSshadcn/uiBetter AuthPrisma
35Next.js Postgres NextAuth Tailwind CSS TemplateAdmin dashboard templateFree · MIT 1.6kJan 2026
PostgreSQLDrizzle ORMAuth.js (NextAuth)Tailwind CSS
36Wdc SaaS Starter KitNext.js starter by webdevcodyFree · MIT 1.3kDec 2025
Tailwind CSSDrizzle ORMMDXPostgreSQL
37Lipi[WIP] A SAAS web app, a Notion.so replica, featuring real-time collaboration and customizable workspaces…Free · MIT 270Dec 2026
Auth.js (NextAuth)Drizzle ORMPostgreSQLTailwind CSS
38Ecommerce TemplateAn ecommerce template built with NextJS 16, TypeScript and TailwindCSSFree · MIT 249Nov 2026
Vercel AI SDKSupabaseTanStack QueryBetter Auth
39Next.js BillingNext.js billing app with Lemon SqueezyFree · MIT 744Jun 2026
Lemon SqueezyPostgreSQLTailwind CSSDrizzle ORM
40SaaSBoldNext.js SaaS boilerplate with auth, payments, CMS and admin dashboardFree + Pro $149 one-time 186Nov 2026
Tailwind CSSPrismaPostgreSQLAuth.js (NextAuth)
41SonoJSBuild UI faster. Free components. One command. ⭐Free · MIT 161Dec 2026
Vercel AI SDKClerkPostgreSQLTailwind CSS
42Portfolio Next.jsThis repository contains the source code for a portfolio website built using Next.js, TypeScript, Sass,…Free · MIT 152Nov 2026
PlaywrightTailwind CSSDrizzle ORMMotion (Framer Motion)
43Fullstack Langgraph Next.js AgentProduction-ready Next.js template for building AI agents with LangGraph.js. Features MCP integration for…Free · MIT 135Sep 2026
LangChainPrismaTailwind CSSTanStack Query
44AI Clipping GeneratorOpen-source AI video clipping generator — production-ready Next.js SaaS that auto-extracts viral shorts,…Free · MIT 132Oct 2026
PrismaStripeTailwind CSSMotion (Framer Motion)
45shadcn AdminProduction ready admin dashboard powered by Next.js and Shadcn/UI. Includes authentication flows,…Free · MIT 120Aug 2026
PostgreSQLTailwind CSSBetter AuthDrizzle ORM
46Better Auth StarterA modern Next.js boilerplate with authentication, admin dashboard, and user management built with Better…Free · MIT 377Jul 2026
Tailwind CSSBetter AuthDrizzle ORMMotion (Framer Motion)
47Better Starter KitNextjs Hono Starter Kit, inspired from Better-T3-Stack, but super optimized for Cloudflare DeploymentFree 102Sep 2026
MDXTailwind CSSTanStack QueryBetter Auth
48Natural Language PostgresNatural language to SQL template built with Next.js and the AI SDKFree 333Apr 2026
PostgreSQLVercel AI SDKMotion (Framer Motion)Tailwind CSS
49Better SaaSFull-stack SaaS application built with Next.jsFree · MIT 320Apr 2026
PostgreSQLTailwind CSSBetter AuthDrizzle ORM
50Videofly Template一套生产级 AI 视频生成 SaaS 模板,基于 NextJS 构建Free · MIT 320Mar 2026
Tailwind CSSTanStack QueryBetter AuthDrizzle ORM
51TitanNext.js 15 fullstack template with better-auth for authentication and drizzle-orm as the ormFree · MIT 307Dec 2025
PostgreSQLTailwind CSSBetter AuthDrizzle ORM
52NextDevTpl一个现代化的 SaaS 全栈开发模板,基于 Next.js 16 构建,包含认证、支付、积分、邮件、存储、工单、API 限流、日志、错误监控等完整的 SaaS 功能模块。Free · MIT 87Nov 2026
PostgreSQLPlaywrightTailwind CSSBetter Auth
53HagenKitEnterprise-ready Next.js boilerplate with authentication, database, payments, and beautiful UI components.…Free · AGPL-3.0 272Dec 2025
MDXPolarPrismaTailwind CSS
54BordfulOpen-source job board software powered by Next.js and Payload CMS. Live in about two minutes with sample…Free · MIT 75Nov 2026
PlaywrightTailwind CSSPayload CMSPostgreSQL
55Bulletproof Next.js StarterA production-ready Next.js boilerplate with modern tooling, comprehensive testing, and enterprise-grade…Free 227Apr 2026
PostgreSQLPlaywrightPrismaStorybook
56RelivatorRelivator: next.js 15 react 19 ecommerce template ▲ better-auth polar shadcn/ui tailwind drizzle orm…Free · MIT 1.6kOct 2025
PolarTailwind CSSBetter AuthDrizzle ORM
57AI SaaS Starter Kit Next.jsFree AI SaaS Starter Template Kit, A full-stack starter template kit for building AI-driven SaaS…Free · MIT 46Nov 2026
Vercel AI SDKTailwind CSSAuth.js (NextAuth)OpenAI
58Nano Banana GeneratorOpen-source Nano Banana image generator — production-ready Next.js SaaS for text-to-image and multi-image…Free 44Oct 2026
PrismaStripeTailwind CSSMotion (Framer Motion)
59Orcish Fullstack AdminNext.js Fullstack Admin Application TemplateFree 135Dec 2025
PostgreSQLDrizzle ORMTailwind CSSshadcn/ui
60Next.js Starter Kit (chndrwali)Modern Next.js 16 Boilerplate: React 19 + Better Auth + tRPC v11 + Prisma 7 + UploadThing + shadcn/ui +…Free · MIT 43Nov 2026
PrismaTailwind CSSTanStack QuerytRPC
61Next.js Drizzle Better AuthA Next.js starter kit integrating Drizzle ORM for type-safe database operations, Better Auth for secure…Free 127Feb 2026
PostgreSQLTailwind CSSBetter AuthDrizzle ORM
62Next.js Better Auth (jabirdev)A Next.js 16 starter template featuring Better Auth, Drizzle ORM, and Supabase. Kickstart your project…Free · MIT 113Apr 2026
Tailwind CSSBetter AuthDrizzle ORMPostgreSQL
63LaunchmvpfastStarterkits, components, ui blocksFree · MIT 616Aug 2025
Tailwind CSSTanStack QuerytRPCDrizzle ORM
64SaaSLaunchpadProduction-Ready Next.js SaaS Boilerplate: SaasLaunchpad. Build your SaaS faster with Stripe integration,…Free · MIT 71Mar 2026
Auth.js (NextAuth)PlaywrightDrizzle ORMFirebase
65Next.js Sessionauth TemplateNext.js starter template featuring session-based auth, drizzle-orm, tailwind, shadcn ui, stripe,…Free · MIT 536Jan 2025
PlaywrightTailwind CSSTanStack QuerytRPC
66Multi-tenant AI-native todo list app with NileThis template shows how to use Nile with NextJS for a multi-tenant AI-native TODO list applicationFree——
Tailwind CSSPostgreSQL
67Nextbase Open SourceFree, MIT-licensed Next.js and Supabase starter from the Nextbase teamFree——
Tailwind CSSSupabasePostgreSQLTanStack Query
68Payload Website StarterA production-ready website built with Payload, the only Next.js-native CMSFree——
Tailwind CSSPostgreSQLPayload CMS
69Social PostOpen-source AI social media post generator — production-ready Next.js SaaS with live platform mockups for…Free 56Jul 2026
PrismaTailwind CSSAuth.js (NextAuth)PostgreSQL
70IndiesaasOpen Source Next.js Saas Starter. Built with Better Auth UI, Shadcn/Ui, Drizzle ORM, UploadThing, Resend…Free · MIT 234Nov 2025
Tailwind CSSBetter AuthDrizzle ORMMotion (Framer Motion)
71Codeguide Starter FullstackBoilerplate built for AI coding agents, tools, CLIFree 150Oct 2025
Tailwind CSSBetter AuthDrizzle ORMPostgreSQL
72Next.js PWA GraphQL Sql BoilerplateNext.js serverless PWA with TypeScript + GraphQL (Postgraphile, Apollo) + Postgres SQL boilerplateFree 142Dec 2024
FirebasePostgreSQL
73Better Auth Next.js StarterBetter Auth Next.js starter template with PostgreSQL, Drizzle, shadcn/ui and TanStack QueryFree 134Oct 2025
Tailwind CSSBetter AuthDrizzle ORMPostgreSQL
74Template Web个人网站模板,使用Nextjs(React)开发Free 93Aug 2025
PrismaTailwind CSSPostgreSQL
75Next.js Postgres Auth StarterNext.js + Tailwind + Typescript + Drizzle + NextAuth + PostgreSQL starter templateFree 1.1kJun 2024
Drizzle ORMAuth.js (NextAuth)PostgreSQLTailwind CSS
76SaaS Kit PrismaA template for building Software-as-Service (SAAS) apps with Reactjs, Nextjs, Prisma and OpenAI integrationFree 624Jul 2024
PostgreSQLPlaywrightPrismaStripe
77VersatorVersator: next.js 15 react 19 ecommerce template ▲ i18n stripe shadcn ui tailwind drizzle orm zod…Free · MIT 45May 2025
ClerkMDXPostgreSQLStripe
78NextflixOpen source Netflix clone project using bleed-edge tech stackFree 160Sep 2023
ClerkPostgreSQLDrizzle ORMStripe
79JetpackNextjs 14 starter preconfigured with Bun, Shadcn-ui (TailwindCss), Typescript, Supabase, Drizzle, Docker,…Free · MIT 146May 2024
ClerkTailwind CSSDrizzle ORMPostgreSQL
80Next.js SequelizeNext.js With Sequelize Web ApplicationFree 115Mar 2023
PostgreSQL
81Next Postgres[OUTDATED] A minimal example web application using NextJS 12.0.7, Postgres 11, Google OAuth2 and other…Free 71Jan 2024
PostgreSQL
82Web3 Monorepo️ Get started with your Web3 project, included: Web3Auth & Biconomy for non-custodial Social Login and…Free · MIT 54Apr 2023
Chakra UIPrismaStorybookTanStack Query
83Next Postgres With TypeScriptReact 16.4.2 + NextJS 7.0.2 + Typescript + Sequelize 4/Postgres + Jest/Enzyme + Passport Local Auth +…Free · MIT 21Mar 2019
PostgreSQL

After you pick a starter: ship checklist

  1. 1.Design: Add free Tailwind sections (heroes, pricing, footers) to your starter with Float UI.
  2. 2.Placeholders: Fill empty image slots while you build with lorem.space.
  3. 3.Screenshots: Make product mockups for your landing page with UI Generator.
  4. 4.Launch: Launch a developer tool to an audience of developers on DevHunt.
  5. 5.Backlinks: Get listed on 100+ directories without the busywork with ListingBott.
  6. 6.Blog & SEO: Grow organic traffic with an AI agent that writes your blog: SEObot.

These tools are built by the makers of NextJS Starter.

Other stacks